<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>自作音楽&#8217;03~&#8217;09 | imakat.com</title>
	<atom:link href="https://imakat.com/category/music/original03-09/feed/" rel="self" type="application/rss+xml" />
	<link>https://imakat.com</link>
	<description>工夫と改善で人生をちょっと豊かに</description>
	<lastBuildDate>Wed, 10 Jun 2026 00:57:38 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://i0.wp.com/imakat.com/wp-content/uploads/2023/07/cropped-80d64ecd340db4e2ca3224859b04caed.png?fit=32%2C32&#038;ssl=1</url>
	<title>自作音楽&#8217;03~&#8217;09 | imakat.com</title>
	<link>https://imakat.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">160909258</site>	<item>
		<title>ギアナ高地 ( Guiana Highlands / Escudo guayanés )</title>
		<link>https://imakat.com/2014/03/01/3066/</link>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:30:25 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<category><![CDATA[suzhou street]]></category>
		<guid isPermaLink="false">https://imakat.com/?p=3066</guid>

					<description><![CDATA[2007年の「世界ふしぎ発見」で紹介されていた「ギアナ高地」。その時は、ギアナ高地はまだ９０％以上は、文明人が踏み入れていないと紹介されていた。ここまで科学技術が進歩しているというのに、信じられない。驚いた。 (Cuba [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-40284032"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zb3F9Mfz.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=W5ap9YMQ.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">2007年の「世界ふしぎ発見」で紹介されていた「<a rel="noopener" target="_blank" href="https://ja.wikipedia.org/wiki/ギアナ高地">ギアナ高地<span class="fa fa-external-link external-icon anchor-icon"></span></a>」。その時は、ギアナ高地はまだ９０％以上は、文明人が踏み入れていないと紹介されていた。ここまで科学技術が進歩しているというのに、信じられない。驚いた。</p>



<p class="wp-block-paragraph">(Cubase)(Mar.2007)</p>



<figure class="wp-block-image alignleft size-large"><a href="https://imakat.com/rd.php?id=s7BajamT.png" target="_blank"><img decoding="async" src="https://imakat.com/rd.php?id=s7BajamT.png" alt=""/></a><figcaption class="wp-element-caption">suzhou street</figcaption></figure>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3066</post-id>	</item>
		<item>
		<title>桟橋へ行こう ( Take me to the Sanbashi )</title>
		<link>https://imakat.com/2014/03/01/464/</link>
					<comments>https://imakat.com/2014/03/01/464/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:15:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[1964年東京オリンピックの頃。昭和３０年代。あの、ほのぼのとした頃を思い出してみよう。 (cubase)(2007)(1215)]]></description>
										<content:encoded><![CDATA[</p>
<p>1964年東京オリンピックの頃。昭和３０年代。あの、ほのぼのとした頃を思い出してみよう。</p>
<p><iframe src="//www.youtube.com/embed/AL1PKdn9aCA" width="560" height="314" allowfullscreen="allowfullscreen"></iframe></p>
<p>(cubase)(2007)(1215)</p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/464/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">464</post-id>	</item>
		<item>
		<title>夏まで待ったよ ( I&#8217;ve Been Waiting For This Summer )</title>
		<link>https://imakat.com/2014/03/01/465/</link>
					<comments>https://imakat.com/2014/03/01/465/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:12:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[(ACID PRO)(June/2008)(1212)]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-77465483"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=DhnDyL6g.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">(ACID PRO)(June/2008)(1212)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/465/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">465</post-id>	</item>
		<item>
		<title>春に触れて ( A Touch in Spring )</title>
		<link>https://imakat.com/2014/03/01/466/</link>
					<comments>https://imakat.com/2014/03/01/466/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:11:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<category><![CDATA[suzhou street]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[お聴きいただいた通り、春らしい、クラシック音楽的なボッサです。(ACID PRO)(Mar/2004)(140301)(1147)]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-29069622"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=k7tU6i8C.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<figure class="wp-block-image alignleft size-large"><a href="https://imakat.com/rd.php?id=s7BajamT.png" target="_blank"><img decoding="async" src="https://imakat.com/rd.php?id=s7BajamT.png" alt=""/></a><figcaption class="wp-element-caption">suzhou street</figcaption></figure>



<p class="wp-block-paragraph">お聴きいただいた通り、春らしい、クラシック音楽的なボッサです。<br><strong>(ACID PRO)(Mar/2004)(140301)(1147)</strong></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/466/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">466</post-id>	</item>
		<item>
		<title>交差点の名画座( Old movie theater at the crossing point )</title>
		<link>https://imakat.com/2014/03/01/468/</link>
					<comments>https://imakat.com/2014/03/01/468/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:10:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<category><![CDATA[suzhou street]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[小学生の頃、浜松市の駅南、家の近くの交差点の、東側の角に、光洋劇場という名画座がありました。名画座は、任侠もの、成人もの、怪獣、子供マンガ・・・新作も、お古も、何でもありでした。あるとき、ディーン・マーチン主演のアクショ [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-85963975"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=7NHn6CY4.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<figure class="wp-block-image alignleft size-large"><a href="https://imakat.com/rd.php?id=s7BajamT.png" target="_blank"><img decoding="async" src="https://imakat.com/rd.php?id=s7BajamT.png" alt=""/></a><figcaption class="wp-element-caption">suzhou street</figcaption></figure>



<p class="wp-block-paragraph">小学生の頃、浜松市の駅南、家の近くの交差点の、東側の角に、光洋劇場という名画座がありました。名画座は、任侠もの、成人もの、怪獣、子供マンガ・・・新作も、お古も、何でもありでした。あるとき、ディーン・マーチン主演のアクション洋画がやって来ました。友達が見たい一緒に入ろうと誘いました。ちょっと大人向きの映画でした。たぶん親と一緒でないとダメなはず。小生は、バレたら先生にぶん殴られるぞ、とビクつきましたが、勇気を出して入ることにしました。どうして入れたのかな？とにかく、まだテレビは庶民は白黒の時代でした。総天然色の美しさと迫力、カッコいい男と美女、驚愕の連続、出る時は何か少し大人になったような気分でした。(Cubase)(2007)(1210)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/468/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">468</post-id>	</item>
		<item>
		<title>旅路 ( Sentimental Journey )</title>
		<link>https://imakat.com/2014/03/01/470/</link>
					<comments>https://imakat.com/2014/03/01/470/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:06:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[蘇州市新区の１１月の朝、冬が近づいてきた小春日和、市場へ行き、街の音を録音した。これが小生にとっての人生の旅路の一コマなんだろうな、と妙にセンチメンタルな気分で作った曲。演奏、録音は良く無いが、空気感のある出来になった。 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-49011465"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=yu1BzKxk.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">蘇州市新区の１１月の朝、冬が近づいてきた小春日和、市場へ行き、街の音を録音した。これが小生にとっての人生の旅路の一コマなんだろうな、と妙にセンチメンタルな気分で作った曲。演奏、録音は良く無いが、空気感のある出来になった。(DTM不明)(Nov.2004)(1206)</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/470/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">470</post-id>	</item>
		<item>
		<title>Milky Way</title>
		<link>https://imakat.com/2014/03/01/467/</link>
					<comments>https://imakat.com/2014/03/01/467/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:00:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/milky-way/</guid>

					<description><![CDATA[ジャカルタの中央部では殆ど星が見えたことがありません。日本の秋から冬の空は美しいです。オリオン座流星群が見えるのは秋から冬でしたね。でも、天の川となると、日本でも都会では、なかなか見ることは出来ません。マレーシアのイポー [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-13395393"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=o5PL4bBQ.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">ジャカルタの中央部では殆ど星が見えたことがありません。日本の秋から冬の空は美しいです。オリオン座流星群が見えるのは秋から冬でしたね。でも、天の川となると、日本でも都会では、なかなか見ることは出来ません。マレーシアのイポーに住んでいたことがありますが、その時、天の川を見ることが出来て、感動しました。この曲は アコースティックギター中心で、70年代のアメリカのフォークロックほか色々なジャンルが混じり、変化に富んでいます。(Cubase)(remakeNov/2014 Original2006)(1210)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/467/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">467</post-id>	</item>
		<item>
		<title>今宵秋の風に ( In autumn breeze )</title>
		<link>https://imakat.com/2014/03/01/472/</link>
					<comments>https://imakat.com/2014/03/01/472/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:00:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<category><![CDATA[suzhou street]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[夏が終わると、秋を越えて、瞬く間に冬になる。自然災害も増加してる。ロマンティックな秋の時間がどんどん削り取られていく。そんな地球になってきてしまい、残念な限りです。秋の風は、穏やかに、撫でるように、そして優しさの中に、ひ [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-86283316"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=E3ggwV64.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<figure class="wp-block-image alignleft size-large"><a href="https://imakat.com/rd.php?id=s7BajamT.png" target="_blank"><img decoding="async" src="https://imakat.com/rd.php?id=s7BajamT.png" alt=""/></a><figcaption class="wp-element-caption">suzhou street</figcaption></figure>



<p class="wp-block-paragraph">夏が終わると、秋を越えて、瞬く間に冬になる。自然災害も増加してる。ロマンティックな秋の時間がどんどん削り取られていく。そんな地球になってきてしまい、残念な限りです。秋の風は、穏やかに、撫でるように、そして優しさの中に、ひんやりとした乾きを感じることができます。春のそれとは違います。この曲は、夏から秋に向かう風、それと秋から冬に向かう風を描こうとしました。2006年の制作で、2013年の「秋風のタペストリー」の原曲です。音質、演奏は劣りますが、自由奔放な、一筆書きや塗り絵のような作り方なので、こちらの方が趣きがあるかも知れません。(Cubase)(Sep.2016 2006)(140301)(1200)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/472/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">472</post-id>	</item>
		<item>
		<title>故郷の木陰で　( Under the tree )</title>
		<link>https://imakat.com/2014/03/01/473/</link>
					<comments>https://imakat.com/2014/03/01/473/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 02:57:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<category><![CDATA[suzhou street]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[何かの映画DVDを観た後に作ったのだと思います。故郷は今頃どんなかなあ、と思いながら。クラシックなボッサです。(ACID PRO ) (July.2006)(1157)]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-38444328"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=E6y73lPT.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">何かの映画DVDを観た後に作ったのだと思います。故郷は今頃どんなかなあ、と思いながら。クラシックなボッサです。<br>(ACID PRO ) (July.2006)(1157)</p>



<figure class="wp-block-image size-large is-resized"><a href="https://imakat.com/rd.php?id=s7BajamT.png" target="_blank"><img decoding="async" src="https://imakat.com/rd.php?id=s7BajamT.png" alt="" style="width:139px;height:auto"/></a></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/473/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">473</post-id>	</item>
		<item>
		<title>帰り道 ( Return path )</title>
		<link>https://imakat.com/2014/03/01/474/</link>
					<comments>https://imakat.com/2014/03/01/474/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 02:55:00 +0000</pubDate>
				<category><![CDATA[自作音楽'03~'09]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[蘇州市新区を京杭運河が通っている。その運河に注ぐ水路が、あちこち通っている。その水路沿いを、とぼとぼと、煙草を喰わえながら歩く。宿への帰り道。水路に注ぐ水の音、虫の鳴き声、靴の音、一区画離れた大通りの車のクラクションが混 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* 行梱包時の基本スタイル */
  .sc-dynamic-embed .imk-line {
      display: inline-block;
      width: 100%;
      border-radius: 2px;
      transition: background-color 0.1s;
  }

  /* 古い枠内字幕ボックスを強制消去 */
  .sc-dynamic-embed #subtitleOverlay,
  .sc-dynamic-embed #scSubtitleOverlay,
  .sc-dynamic-embed .overlay-cue,
  .sc-dynamic-embed .band {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
  }
  </style>

  <!-- ★ mu1emd の呼び出し -->
  <style>
            :root{ --mu1emd-max: 1920px; }
            /* Google翻訳まわりのポップアップ・ツールチップ強制非表示スタイル */
            .goog-te-balloon-frame, .goog-tooltip, #goog-gt-tt { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
            .goog-text-highlight { background: none !important; box-shadow: none !important; border: none !important; }
            .goog-te-banner-frame.skiptranslate { display: none !important; }
            
            /* GTranslate メニュー位置調整 */
            html.noscroll .mu1emd-topbar, body.noscroll .mu1emd-topbar, html.sidebar-visible .mu1emd-topbar, body.sidebar-visible .mu1emd-topbar, .sidebar-visible .mu1emd-topbar { display: none !important; }
            .gt_menu, .gt-menu { top: 28px !important; bottom: auto !important; z-index: 999999 !important; }
            
            /* 字幕リストとプレイヤーのスタイル定義 */
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .mu1emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; scroll-behavior: smooth; }
            .mu1emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
            /* 重複回避バリア（URLの書き換え不要）
                ブログ本文（.entry-content）やショートコード枠に埋め込まれた場合は、CSSで強制的に重複バーを消す */
            .entry-content #mu1emd-auto-topbar,
            .post-content #mu1emd-auto-topbar,
            .sc-dynamic-embed #mu1emd-auto-topbar {
                display: none !important;
            }
            
                .audio-player-wrap { position: relative; width: 100%; max-width: min(var(--mu1emd-max, 1920px), 98vw); margin: 0 auto; background: #000; overflow: hidden; border-radius: 4px; }
                .audio-cover-image { width: 100%; height: auto; display: block; cursor: pointer; }
                .center-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; z-index: 10; padding-left: 6px; }
                .center-play-btn.is-playing { opacity: 0; pointer-events: none; }
                .custom-audio-bar { display: flex; align-items: center; justify-content: center; height: 27px; background: #111; color: #fff; padding: 0 15px; font-family: sans-serif; font-size: 14px; }
                .custom-audio-bar input[type="range"] { flex: 1; margin: 0 15px; cursor: pointer; height: 4px; }
                #myVideo { display: none !important; }</style><div id="mu1emd-auto-topbar" class="mu1emd-topbar" style="height: 28px!important; display: flex!important; justify-content: space-between!important; align-items: center!important; width: 100%!important; padding: 0 10px!important; border-bottom: 1px solid #eee; background-color: #fff; box-sizing: border-box; overflow: visible!important; margin: 0 0 15px 0!important; position: relative; z-index: 1!important;">
                <div style="height: 28px; display: flex; align-items: center; flex-grow: 1; overflow: visible!important;">
                    <div class="gt-container" style="pointer-events: auto!important;">
                        <div class="gtranslate_wrapper" id="gt-wrapper-66288301"></div>
                    </div>
                </div>
                <div style="height: 28px!important; display: flex; align-items: center;">
                    <a rel="noopener" target="_blank" style="display: block; height: 26px;" href="https://notebooklm.google.com/notebook/aa64cc3d-0160-4433-b934-ecc5ab902287">
                        <img decoding="async" style="height: 26px!important; width: auto!important; border: none!important; display: block!important;" src="https://imakat.com/rd.php?id=NgFHFYXH.png" alt="Q&A" />
                    </a>
                </div>
            </div>            <script>
            // JSによる埋め込み検知（iframe等への対応）
            (function(){
                var isIframe = (window.self !== window.top);
                var isHtmlInjected = (window.location.href.indexOf('mu1emd') === -1);
                
                if (isIframe || isHtmlInjected) {
                    var topbar = document.getElementById('mu1emd-auto-topbar');
                    if (topbar) topbar.style.display = 'none';
                }
            })();

            function initVideoTranslate() {
                if (window.google && google.translate && google.translate.TranslateElement) {
                    new google.translate.TranslateElement({
                        pageLanguage: 'ja',
                        layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
                        autoDisplay: false,
                        includedLanguages: 'ja,en,zh-CN,id,ko,hi,pt,es,de,fr,it,ru'
                    }, 'google_translate_element_video');
                }
            }
            (function() {
                if (!window.google || !google.translate) {
                    var gtScript = document.createElement('script');
                    gtScript.src = 'https://translate.google.com/translate_a/element.js?cb=initVideoTranslate';
                    gtScript.async = true;
                    document.head.appendChild(gtScript);
                } else { 
                    setTimeout(initVideoTranslate, 500); 
                }
            })();
            </script>
            <div class="mu1emd-container" id="mu1emdContainer"><div class="audio-player-wrap"><div id="centerPlayBtn" class="center-play-btn">▶</div><img decoding="async" class="audio-cover-image" id="audioCover" src="https://imakat.com/rd.php?id=zuFdlmgx.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=Bx0jzTJC.mp3"></audio><div class="custom-audio-bar">
                        <span id="audioTime">00:00</span>
                        <input type="range" id="audioSeek" value="0" min="0" max="1000" step="1">
                        <span id="audioDuration">00:00</span>
                      </div></div></div>            <script>
            (function(){
                function initPlayer() {
                    var video = document.getElementById("myVideo");
                    if(!video) return false;

                                        if (video.dataset.audioInit !== 'true') {
                        var coverImg = document.getElementById("audioCover");
                        var centerBtn = document.getElementById("centerPlayBtn");
                        var audioSeek = document.getElementById("audioSeek");
                        var audioTime = document.getElementById("audioTime");
                        var audioDuration = document.getElementById("audioDuration");
                        
                        // ★追加: ドラッグ中かどうかを判定するフラグ
                        var isDragging = false; 

                        function formatTime(s) {
                            if (isNaN(s) || !isFinite(s)) return "00:00";
                            var m = Math.floor(s / 60); var ss = Math.floor(s % 60);
                            return (m < 10 ? "0" + m : m) + ":" + (ss < 10 ? "0" + ss : ss);
                        }

                        // 長さを更新する処理
                        function updateDuration() {
                            if (video.duration && isFinite(video.duration)) {
                                if(audioDuration) audioDuration.textContent = formatTime(video.duration);
                            }
                        }

                        function togglePlay() { if (video.paused) { video.play(); } else { video.pause(); } }
                        if(coverImg) { coverImg.removeEventListener("click", togglePlay); coverImg.addEventListener("click", togglePlay); }
                        if(centerBtn) { centerBtn.removeEventListener("click", togglePlay); centerBtn.addEventListener("click", togglePlay); }

                        video.addEventListener("play", function() { 
                            if(centerBtn) centerBtn.classList.add("is-playing"); 
                            updateDuration();
                        });
                        video.addEventListener("pause", function() { if(centerBtn) centerBtn.classList.remove("is-playing"); });
                        
                        video.addEventListener("loadedmetadata", updateDuration);
                        video.addEventListener("durationchange", updateDuration);

                        if (video.readyState >= 1) {
                            updateDuration();
                        }

                        video.addEventListener("timeupdate", function() {
                            // ★修正: ユーザーがドラッグしていない時だけ、バーの位置と時間を更新する
                            if (!isDragging) {
                                if(audioTime) audioTime.textContent = formatTime(video.currentTime);
                                if (audioSeek && video.duration && isFinite(video.duration)) { 
                                    audioSeek.value = (video.currentTime / video.duration) * 1000; 
                                }
                            }
                            
                            if (audioDuration && audioDuration.textContent === "00:00" && video.duration && isFinite(video.duration)) {
                                updateDuration();
                            }
                        });

                        if(audioSeek) { 
                            // ★修正: ドラッグ中は「時間の表示」だけを変え、シークは行わない（パンク防止）
                            audioSeek.addEventListener("input", function() { 
                                isDragging = true;
                                if (video.duration && isFinite(video.duration)) {
                                    if(audioTime) audioTime.textContent = formatTime((audioSeek.value / 1000) * video.duration);
                                }
                            }); 
                            
                            // ★修正: 指を離した瞬間に、1回だけシーク命令を出す
                            audioSeek.addEventListener("change", function() { 
                                if (video.duration && isFinite(video.duration)) {
                                    video.currentTime = (audioSeek.value / 1000) * video.duration; 
                                }
                                isDragging = false;
                            }); 
                            
                            // 念のためのフェイルセーフ（マウスアップやタッチ終了時もフラグ解除）
                            audioSeek.addEventListener("mouseup", function() { isDragging = false; });
                            audioSeek.addEventListener("touchend", function() { isDragging = false; });
                        }
                        
                        video.dataset.audioInit = 'true';
                    }
                                        return true;
                }

                function protectVideo() {
                    var mediaEls = document.querySelectorAll('#mu1emdContainer video, #mu1emdContainer audio');
                    mediaEls.forEach(function(v){
                        if(v.dataset.protected === 'true') return;
                        v.dataset.protected = 'true';
                        v.setAttribute('controlsList', 'nodownload');
                        v.oncontextmenu = function() { return false; };
                        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
                    });
                }

                function initSubtitles() {
                    var video = document.getElementById("myVideo");
                    var container = document.getElementById("mu1emdContainer");
                    if (!video || !container) return false;

                    var rootSublist = container.querySelector(".mu1emd-sublist");
                    if (!rootSublist) return false;

                    var listContainer = rootSublist.querySelector("details > p");
                    if (!listContainer) return false;

                    if (video.dataset.subInit === 'true') return true;
                    video.dataset.subInit = 'true';

                    var oldOverlay = document.getElementById('subtitleOverlay') || document.getElementById('scSubtitleOverlay');
                    if (oldOverlay) {
                        oldOverlay.style.setProperty('display', 'none', 'important');
                        oldOverlay.innerHTML = ''; 
                    }

                    function isSpecialMode() {
                        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
                        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
                        var isIOSFs = !!video.webkitDisplayingFullscreen; 
                        return isFs || isPiP || isIOSFs;
                    }

                    try {
                        if(video.textTracks && video.textTracks.length > 0){
                            for(var i=0; i<video.textTracks.length; i++){
                                if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                                    video.textTracks[i].mode = "hidden";
                                }
                            }
                        }
                    } catch(e){}

                    video.addEventListener("webkitbeginfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                                }
                            }
                        } catch(e){}
                    });
                    video.addEventListener("webkitendfullscreen", function() {
                        try {
                            if(video.textTracks && video.textTracks.length > 0) {
                                for(var i=0; i<video.textTracks.length; i++){
                                    if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                                }
                            }
                        } catch(e){}
                    });

                    var detailsEl = rootSublist.querySelector("details");
                    if (detailsEl) {
                        detailsEl.open = true; 
                        var summaryEl = detailsEl.querySelector("summary");
                        if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
                    }

                    if (!listContainer.dataset.formatted) {
                        var html = listContainer.innerHTML;
                        var lines = html.split(/<br\s*\/?>/i);
                        var newHtml = "";
                        for(var j=0; j<lines.length; j++) {
                            if(lines[j].trim() === "") continue;
                            newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
                        }
                        listContainer.innerHTML = newHtml;
                        listContainer.dataset.formatted = "true";
                    }

                    function parseTs(ts){
                        if(!ts) return null;
                        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
                        if(p.length===2) return p[0]*60 + p[1];
                        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
                        return null;
                    }

                    rootSublist.addEventListener("click", function(e){
                        var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
                        if(!a) return;
                        e.preventDefault();
                        var sec = parseTs(a.getAttribute("data-seek"));
                        if(sec==null) return;
                        try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
                    });

                    video.addEventListener("timeupdate", function(){
                        var desiredMode = isSpecialMode() ? "showing" : "hidden";
                        try {
                            if(video.textTracks && video.textTracks.length > 0){
                                for(var i=0; i<video.textTracks.length; i++){
                                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                                        video.textTracks[i].mode = desiredMode;
                                    }
                                }
                            }
                        } catch(e){}

                        var cues = listContainer.querySelectorAll("a.imk-cue");
                        if(cues.length === 0) return;
                        var cur = video.currentTime;
                        var activeA = null;

                        for(var i=0; i<cues.length; i++){
                            var t = parseTs(cues[i].getAttribute("data-seek"));
                            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
                            else if(t > cur){ break; }
                        }

                        if(activeA){
                            var activeLine = activeA.closest(".imk-line");
                            if(!activeLine) activeLine = activeA;

                            if(activeLine.classList.contains("active-hl")) return;

                            var allLines = listContainer.querySelectorAll(".imk-line");
                            for(var k=0; k<allLines.length; k++) {
                                allLines[k].classList.remove("active-hl");
                                allLines[k].removeAttribute("style"); 
                            }
                            var allLinks = listContainer.querySelectorAll("a");
                            for(var m=0; m<allLinks.length; m++) {
                                allLinks[m].classList.remove("active-hl");
                                allLinks[m].removeAttribute("style"); 
                            }

                            activeLine.classList.add("active-hl");
                            activeLine.style.setProperty("background-color", "#ffff00", "important");
                            activeLine.style.setProperty("color", "red", "important");
                            activeLine.style.setProperty("font-weight", "normal", "important");
                            
                            var newLinks = activeLine.querySelectorAll("a");
                            for(var n=0; n<newLinks.length; n++) {
                                newLinks[n].style.setProperty("color", "red", "important");
                                newLinks[n].style.setProperty("text-decoration", "none", "important");
                            }

                            if(listContainer.offsetParent !== null){
                                var containerRect = listContainer.getBoundingClientRect();
                                var activeRect = activeLine.getBoundingClientRect();
                                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
                            }
                        }
                    });

                    return true;
                }

                var checks = 0;
                var checkTimer = setInterval(function(){
                    initPlayer();
                    protectVideo();
                    var success = initSubtitles();
                    checks++;
                    if (success || checks > 20) { 
                        clearInterval(checkTimer);
                    }
                }, 500);
            })();
            </script>
            

  <script>
  (function(){
    var me = document.currentScript;
    var wrapper = me ? me.closest('.sc-dynamic-embed') : null;

    function protectVideo() {
      var target = wrapper ? wrapper : document;
      var mediaEls = target.querySelectorAll('video, audio');
      mediaEls.forEach(function(v){
        if(v.dataset.protected === 'true') return;
        v.dataset.protected = 'true';
        v.setAttribute('controlsList', 'nodownload');
        v.oncontextmenu = function() { return false; };
        v.addEventListener('contextmenu', function(e){ e.preventDefault(); return false; }, false);
      });
    }

    function initSubtitles() {
      var target = wrapper ? wrapper : document;
      var video = target.querySelector('video, audio');
      var listContainer = target.querySelector('details > p');
      
      if (!video || !listContainer) return false; 

      if (video.dataset.subInit === 'true') return true; 
      video.dataset.subInit = 'true';

      var oldOverlay = target.querySelector('#subtitleOverlay') || target.querySelector('#scSubtitleOverlay');
      if (oldOverlay) {
          oldOverlay.style.setProperty('display', 'none', 'important');
          oldOverlay.innerHTML = ''; 
      }

      function isSpecialMode() {
        var isFs = !!(document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement);
        var isPiP = !!(document.pictureInPictureElement && document.pictureInPictureElement === video) || (video.webkitPresentationMode === "picture-in-picture");
        var isIOSFs = !!video.webkitDisplayingFullscreen; 
        return isFs || isPiP || isIOSFs;
      }

      try {
        if(video.textTracks && video.textTracks.length > 0){
          for(var i=0; i<video.textTracks.length; i++){
             if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions'){
                 video.textTracks[i].mode = "hidden";
             }
          }
        }
      } catch(e){}

      video.addEventListener("webkitbeginfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "showing";
                  }
              }
          } catch(e){}
      });
      video.addEventListener("webkitendfullscreen", function() {
          try {
              if(video.textTracks && video.textTracks.length > 0) {
                  for(var i=0; i<video.textTracks.length; i++){
                      if(video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') video.textTracks[i].mode = "hidden";
                  }
              }
          } catch(e){}
      });

      var detailsEl = target.querySelector("details");
      if (detailsEl) {
          detailsEl.open = true; 
          var summaryEl = detailsEl.querySelector("summary");
          if (summaryEl) summaryEl.textContent = "字幕(シーン)はここをクリック";
      }

      if (!listContainer.dataset.formatted) {
          var html = listContainer.innerHTML;
          var lines = html.split(/<br\s*\/?>/i);
          var newHtml = "";
          for(var j=0; j<lines.length; j++) {
              if(lines[j].trim() === "") continue;
              newHtml += "<span class='imk-line'>" + lines[j] + "</span><br>";
          }
          listContainer.innerHTML = newHtml;
          listContainer.dataset.formatted = "true";
      }

      function parseTs(ts){
        if(!ts) return null;
        var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
        if(p.length===2) return p[0]*60 + p[1];
        if(p.length===3) return p[0]*3600 + p[1]*60 + p[2];
        return null;
      }

      var rootSublist = target.querySelector(".mu1-sublist, .mu1emd-sublist") || listContainer.parentElement;
      if (rootSublist) {
        rootSublist.addEventListener("click", function(e){
          var a = e.target.closest && e.target.closest("a.imk-cue[data-seek]");
          if(!a) return;
          e.preventDefault();
          var sec = parseTs(a.getAttribute("data-seek"));
          if(sec==null) return;
          try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
        });
      }

      video.addEventListener("timeupdate", function(){
        var desiredMode = isSpecialMode() ? "showing" : "hidden";
        try {
            if(video.textTracks && video.textTracks.length > 0){
                for(var i=0; i<video.textTracks.length; i++){
                    if((video.textTracks[i].kind === 'subtitles' || video.textTracks[i].kind === 'captions') && video.textTracks[i].mode !== desiredMode) {
                        video.textTracks[i].mode = desiredMode;
                    }
                }
            }
        } catch(e){}

        var cues = listContainer.querySelectorAll("a.imk-cue");
        if(cues.length === 0) return;
        var cur = video.currentTime;
        var activeA = null;

        for(var i=0; i<cues.length; i++){
            var t = parseTs(cues[i].getAttribute("data-seek"));
            if(t !== null && cur >= t - 0.5){ activeA = cues[i]; } 
            else if(t > cur){ break; }
        }

        if(activeA){
            var activeLine = activeA.closest(".imk-line");
            if(!activeLine) activeLine = activeA;

            if(activeLine.classList.contains("active-hl")) return;

            var allLines = listContainer.querySelectorAll(".imk-line");
            for(var k=0; k<allLines.length; k++) {
                allLines[k].classList.remove("active-hl");
                allLines[k].removeAttribute("style"); 
            }
            var allLinks = listContainer.querySelectorAll("a");
            for(var m=0; m<allLinks.length; m++) {
                allLinks[m].classList.remove("active-hl");
                allLinks[m].removeAttribute("style"); 
            }

            activeLine.classList.add("active-hl");
            activeLine.style.setProperty("background-color", "#ffff00", "important");
            activeLine.style.setProperty("color", "red", "important");
            activeLine.style.setProperty("font-weight", "normal", "important");
            
            var newLinks = activeLine.querySelectorAll("a");
            for(var n=0; n<newLinks.length; n++) {
                newLinks[n].style.setProperty("color", "red", "important");
                newLinks[n].style.setProperty("text-decoration", "none", "important");
            }

            if(listContainer.offsetParent !== null){
                var containerRect = listContainer.getBoundingClientRect();
                var activeRect = activeLine.getBoundingClientRect();
                var targetScroll = listContainer.scrollTop + (activeRect.top - containerRect.top) - (listContainer.clientHeight / 2) + (activeLine.clientHeight / 2);
                listContainer.scrollTo({ top: targetScroll, behavior: "smooth" });
            }
        }
      });

      return true;
    }

    var checks = 0;
    var checkTimer = setInterval(function(){
      protectVideo();
      var success = initSubtitles();
      checks++;
      if (success || checks > 20) { 
        clearInterval(checkTimer);
      }
    }, 500); 

    if (!window.scStopAndGo) {
      window.scStopAndGo = function(event, link){
        try{
          var mediaEls = document.querySelectorAll('video, audio');
          mediaEls.forEach(function(m){
            try{
              if (!m.paused) m.pause();
              if (document.pictureInPictureElement === m && document.exitPictureInPicture) {
                document.exitPictureInPicture().catch(function(){});
              }
            }catch(e){}
          });
        }finally{
          event.preventDefault();
          setTimeout(function(){
            if (link.target === '_blank') {
              window.open(link.href, '_blank');
            } else {
              window.location.href = link.href;
            }
          }, 50);
        }
        return false;
      };
    }
  })();
  </script>
</div>



<p class="wp-block-paragraph">蘇州市新区を京杭運河が通っている。その運河に注ぐ水路が、あちこち通っている。その水路沿いを、とぼとぼと、煙草を喰わえながら歩く。宿への帰り道。水路に注ぐ水の音、虫の鳴き声、靴の音、一区画離れた大通りの車のクラクションが混じり合う。今日も一日が無事に終わった。明日はどんな一日になるのだろうか。<br>(ACID PRO)(2005)(140301)(1155)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/474/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">474</post-id>	</item>
	</channel>
</rss>
