<?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;11~&#8217;14 | imakat.com</title>
	<atom:link href="https://imakat.com/category/music/original11-14/feed/" rel="self" type="application/rss+xml" />
	<link>https://imakat.com</link>
	<description>工夫と改善で人生をちょっと豊かに</description>
	<lastBuildDate>Tue, 09 Jun 2026 05:11:57 +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;11~&#8217;14 | 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>スディルマン通り (Jl.Jenderal Sudirman / Sudirman Street )</title>
		<link>https://imakat.com/2014/12/31/447/</link>
					<comments>https://imakat.com/2014/12/31/447/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Wed, 31 Dec 2014 10:05:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[＜スディルマン通りにて車窓から見やると、発展の象徴であるThe Ritz-Carlton Hotel(Jakarta Pacific Place)と、フルーツ屋台(gerobak buah)を押す商人と、私の目線、この三 [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="sc-dynamic-embed">
  <style>
  /* リンクの見た目を整える */
  .sc-dynamic-embed .sc-link-container { 
      display: flex; 
      margin-bottom: 10px; 
      flex-wrap: wrap; 
      align-items: center; 
  }
  .sc-dynamic-embed .sc-link { margin-bottom: 0; }
  .sc-dynamic-embed .sc-link a {
    font-size: 15px; 
    font-weight: normal;
    text-decoration: underline;
    color: #0073aa;
  }
  .sc-dynamic-embed .sc-link a:hover { text-decoration: none; color: #000; }
  
  @media (max-width: 500px) {
    .sc-dynamic-embed .sc-link a { font-size: 13px; }
  }

  .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>

  <div class="sc-link-container">
    <p class="sc-link">
      <a href="https://imakat.com/ds62/?drid=64_2" target="_blank"
         onclick="return scStopAndGo(event, this);">
        👉低画質・枠外字幕はこちら
      </a>
    </p>
  </div>

  <style>
            :root{ --dr5emd-max: 1920px; }
            #subtitleOverlay, #scSubtitleOverlay, .overlay-cue, .band { display: none !important; opacity: 0 !important; }
            .imk-line { display: inline-block; width: 100%; border-radius: 2px; transition: background-color 0.1s; }
            .dr5emd-sublist details > p{ height:200px; overflow:auto; background-color:#EDF7FF; padding:2px 6px; margin:0; box-shadow:3px 3px 4px black; position: relative; }
            .dr5emd-sublist details > summary{ padding:2px 6px; width:100%; background-color:#ddd; border:none; box-shadow:3px 3px 4px black; cursor:pointer; list-style:none; }
            
                .video-wrap{position:relative;width:100%;margin:0 auto}
                #myVideo{width:100%;height:auto;min-height:200px;display:block;background:#000;}</style><div class="dr5emd-container"><div class="video-wrap"><video id="myVideo" controls poster="https://imakat.com/rd.php?id=A7ClNQme.png" playsinline preload="none" style="width:100%;height:auto;">  <source src="https://imakat.com/rd.php?id=lrLoPNH4.mov" type="video/mp4"></video></div></div>            <script>
            document.addEventListener("DOMContentLoaded", function(){
                var video = document.getElementById("myVideo");
                if(!video) return;

                            });
            </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) 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;
      }

      // 初期状態のセット（リストがなければ最初から showing に）
      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 = (!listContainer) ? "showing" : "hidden";
             }
          }
        }
      } catch(e){}

      // 字幕一覧が存在する場合のみ、リストのフォーマット処理を行う
      if (listContainer) {
          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";
          }

          var rootSublist = target.querySelector(".dr5-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 ts = a.getAttribute("data-seek");
              if(!ts) return;
              var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
              var sec = (p.length===2) ? p[0]*60+p[1] : (p.length===3 ? p[0]*3600+p[1]*60+p[2] : null);
              if(sec==null) return;
              try{ video.currentTime = sec; if(video.paused) video.play(); }catch(_){}
            });
          }
      }

      // ★ dr52.php と全く同じ「常時監視」のロジック
      // これにより、Safariが読み込み遅延を起こしても確実にONになります
      video.addEventListener("timeupdate", function(){
        var hasList = (listContainer !== null);
        var desiredMode = (isSpecialMode() || !hasList) ? "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){}

        // リストがない場合はこれ以降のハイライト処理をスキップ
        if (!hasList) return;

        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 ts = cues[i].getAttribute("data-seek");
            if(!ts) continue;
            var p = ts.trim().split(":").map(function(x){return parseInt(x,10)||0;});
            var t = (p.length===2) ? p[0]*60+p[1] : (p.length===3 ? p[0]*3600+p[1]*60+p[2] : null);
            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"><span class="fz-12px">＜スディルマン通りにて車窓から見やると、発展の象徴であるThe Ritz-Carlton Hotel(Jakarta Pacific Place)と、フルーツ屋台(gerobak buah)を押す商人と、私の目線、この三つが一直線になっていた。＞</span></p>



<p class="wp-block-paragraph">2025/11/6<br>Vimeoからdynamic2に変更しました。<br></p>



<hr class="wp-block-separator has-text-color has-key-color-color has-css-opacity has-key-color-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">首都ジャカルタ、そのど真ん中にあるスディルマン通り(Jl. Jend. Sudirman)。</p>



<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3966.316465484195!2d106.80826401931078!3d-6.221936198761784!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e69f153c96d21e7%3A0x23a34cb1900d48c0!2zSmwuIEplbmQuIFN1ZGlybWFuLCBSVC41L1JXLjMsIFNlbmF5YW4sIEtlYy4gS2J5LiBCYXJ1LCBLb3RhIEpha2FydGEgU2VsYXRhbiwgRGFlcmFoIEtodXN1cyBJYnVrb3RhIEpha2FydGEgMTAyNzAg44Kk44Oz44OJ44ON44K344Ki!5e0!3m2!1sja!2sjp!4v1638145768758!5m2!1sja!2sjp" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><a rel="noopener" target="_blank" href="https://ja.wikipedia.org/wiki/スディルマン">スディルマン<span class="fa fa-external-link external-icon anchor-icon"></span></a>とは、<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">さて、この通り沿いに大手企業、レストラン、モール・ショップが集中します。</p>



<p class="wp-block-paragraph">しかし我々日本人はなぜ、わざわざ、世界で最もひどいと言われる、狂気の渋滞に飛び込んで、ストレス溜めて、こんな最悪条件にあるレストランを目指すのでしょうか。雨でも降れば即洪水で全く時間が読めない。<br>ところが、「夕食はスディルマンのどこそこ何時・・」と決めても、文句が出ないのです。<br>不思議。何故でしょう？<br>結局、夕食の開始時刻とは、どういう意味か。そう。まさしく開始時刻であって、それより後に来ても全然問題ないよ。そういう意味でしかないのです。</p>



<p class="wp-block-paragraph">そんな、どうしようもないスディルマン通りへの愛着と、<br>充実した駐在生活を送ることができたジャカルタへの感謝を込めて、<br>この曲を贈ります。</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">(Cubase)(Dec/2014)(1905)<br><b><span style="font-family: Arial, Helvetica, sans-serif;"><br></span></b></p>



<p class="wp-block-paragraph">&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/12/31/447/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">447</post-id>	</item>
		<item>
		<title>朝凪の街 ( City in Morning Calm )</title>
		<link>https://imakat.com/2014/11/01/448/</link>
					<comments>https://imakat.com/2014/11/01/448/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Nov 2014 10:00:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[ジャカルタは朝でも空気が薄汚れている。それでも朝、窓を開けて外の空気を入れる。そんな毎日がもう４年。海岸都市ジャカルタが、海からの朝凪を感じられるようになるのは、いつの日か。曲は珍しくセンチメンタルな雰囲気です。(Cub [&#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-36466745"></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=8n4VYEAe.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 size-large"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/img.jakpost.net/c/2023/08/10/2023_08_10_141176_1691660024._large.jpg?w=1256&#038;ssl=1" alt=""/><figcaption class="wp-element-caption">~The Jakarta Post~In this picture taken on August 9, 2023, buildings are seen in the haze caused by the air pollution in Jakarta. (AFP/Yasuyoshi Chiba)&nbsp;<br></figcaption></figure>



<p class="wp-block-paragraph">ジャカルタは朝でも空気が薄汚れている。それでも朝、窓を開けて外の空気を入れる。<br>そんな毎日がもう４年。海岸都市ジャカルタが、海からの朝凪を感じられるようになるのは、いつの日か。曲は珍しくセンチメンタルな雰囲気です。<br>(Cubase)(Nov/2014)(1900)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/11/01/448/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">448</post-id>	</item>
		<item>
		<title>旅に出たハンモック ( Hammock&#8217;s Voyage )</title>
		<link>https://imakat.com/2014/10/01/449/</link>
					<comments>https://imakat.com/2014/10/01/449/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 09:55:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></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-14598885"></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=YaZy1mNN.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=8Yl00gWz.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">～　旅に出たハンモック　～</p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">まだ星が瞬いている。しんと静まり返っている。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">さあ、夜が明ける前に、みんなに気付かれる前に、出航しよう！</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">ハンモックです。いつもヤシの木に結ばれています。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">いつも大きなお尻に敷かれています。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">聞こえるのは潮騒と、それから、gu-gu-いびき、bu-bu-おなら、</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">カップルや子供たちの楽しそうな声。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">見える景色もいつも同じ。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">村の少年のベンジャミンと犬のダニエルが、散歩に来るんだ。<br>「やあ！」って手を振るんだ。<br></span><span style="font-weight: 400;">毎日ね。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">いつも変わらない、のんびり静か。羨ましい生活だと思いますか？</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">時々遊びに来るのと違うんですよ。もう本当に退屈で退屈で。</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">僕は一度も島の外へ出たことがありません。マンタって魚なの？どんな風に泳ぐの？</span></p>



<p class="wp-block-paragraph"><span style="font-weight: 400;">僕が帆になるんだ。僕は自分の力で海に出るんだ。</span></p>



<p class="wp-block-paragraph">(Cubase)(Oct/2014)(1855)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/10/01/449/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">449</post-id>	</item>
		<item>
		<title>Feather( 小春日和 )</title>
		<link>https://imakat.com/2014/10/01/471/</link>
					<comments>https://imakat.com/2014/10/01/471/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 03:05:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">http://imakat.com/2014/03/01/post-0/</guid>

					<description><![CDATA[冬が近づく中、優しい陽が降り注ぐ暖かい日が、たまに、あります。「小春日和」です。英語ではIndian Summerと言うようです。私ならFeatherと名付けます。空から羽毛が降ってくるようで、そのまま、その陽だまりの中 [&#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-49927197"></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=l7paPzuG.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=RjwD9X7b.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">冬が近づく中、優しい陽が降り注ぐ暖かい日が、たまに、あります。「小春日和」です。英語ではIndian Summerと言うようです。私ならFeatherと名付けます。空から羽毛が降ってくるようで、そのまま、その陽だまりの中で寝てしまいたい。そんな気分を曲にしました。短めです。<br>(Cubase)(RemakeOct/2014 Original2003)(1205)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/10/01/471/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">471</post-id>	</item>
		<item>
		<title>名前のない道 ( A Footpath With No Name / Jalan setapak yang tidak punya nama )</title>
		<link>https://imakat.com/2014/09/01/450/</link>
					<comments>https://imakat.com/2014/09/01/450/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Mon, 01 Sep 2014 09:50:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[2026.6.8 bunnyに掲載2021.12.17　Vimeoに掲載 「ここで農作業の休憩をするんだ。。。私も一服しよう。この細い道は、ずっと先まで、見えなくなるまで小川沿い。空と山に続いている。田んぼの風が気持ちい [&#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-30024920"></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=YrCS9PHY.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=fSgeYuND.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">2026.6.8 bunnyに掲載<br>2021.12.17　Vimeoに掲載</p>



<hr class="wp-block-separator has-text-color has-key-color-color has-css-opacity has-key-color-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">「ここで農作業の休憩をするんだ。。。私も一服しよう。この細い道は、ずっと先まで、見えなくなるまで小川沿い。空と山に続いている。田んぼの風が気持ちいい。ああ、なんか眠くなった。」同じメロディーが、異なるメンタリティの和音に混じっていきます。人生の歩み、喜怒哀楽、を表現したようなスケールの大きい曲です。ジャンルは不明です。(Cubase)(Sep/2014)(1850)</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/09/01/450/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">450</post-id>	</item>
		<item>
		<title>いつもの街角で( Street corner as always / Sudut Jalan )</title>
		<link>https://imakat.com/2014/08/01/451/</link>
					<comments>https://imakat.com/2014/08/01/451/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Fri, 01 Aug 2014 09:45:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></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-31254142"></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=B3V6fx9H.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=fbB8iP42.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">いつもの街角には、いつもの風、空がある。何も特別なこともない、ただふつうの時間があることの安らぎ。おやすみ前に聴いていただけるような、おしゃれで大人向きのスムーズジャズです。昭和時代の「キャラメル・ママ」「ティン・パン・アレイ」のようなレトロなテイストを感じられるかも知れません。メロディーもコードもシンプルです。(Cubase)(July/2016 Aug/2014)</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/08/01/451/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">451</post-id>	</item>
		<item>
		<title>西回りで行くよ( Flight to Westward )</title>
		<link>https://imakat.com/2014/07/01/452/</link>
					<comments>https://imakat.com/2014/07/01/452/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Tue, 01 Jul 2014 09:35:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></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-43090134"></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=cChNiwOu.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">少年時代、新聞にはまだ、ブラジル移民募集の広告が載っていました。アマゾンのジャングルの冒険に夢を膨らませた小生は、分けも分からず、移民で行きたい、っと憧れていました。青年時代、ブラジル移民は、いかに過酷な事かを知り、浅はかな夢と消え去りましたが、ブラジルから流れてくるオシャレなサウンド、サンバ・ボサノバの虜になりました。</p>



<p class="wp-block-paragraph">さて今、インドネシアに駐在しています。ここからブラジルへ行くとなると西廻りになるのでしょうね。中央アジア・東欧・中近東の上を飛んで行く、日本人であることを忘れてしまいそう。<br>（Logic)(July/2014)(1830)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2014/07/01/452/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">452</post-id>	</item>
		<item>
		<title>夜行列車 ( Night Train / Kereta Malam )</title>
		<link>https://imakat.com/2014/03/01/469/</link>
					<comments>https://imakat.com/2014/03/01/469/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sat, 01 Mar 2014 03:08:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></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-75862279"></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=Y6c0mBr4.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=3gd7iP25.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">この曲のトリガーは、松本清張原作の「砂の器」のビデオを観たことです。この映画から焼き付く映像の第一は、暗い、夜行列車でした。</p>



<p class="wp-block-paragraph">特に、プロローグの場面、殺人現場である夜の蒲田操車場が強烈に印象に残りました。それで、曲の出だしがこんな感じになってしまいました。</p>



<p class="wp-block-paragraph">曲の出だしはそんな感じですが、曲全体としては、夜行列車に乗りながら思い出と夢に包まれている、ふつうの人をイメージしました。</p>



<p class="wp-block-paragraph">「砂の器」が描いた時代は昭和三十年代半ば。当時、3月下旬の駅は、集団就職で都会へ向かう人、大学生活を始める若者たち、などで混雑していました。</p>



<p class="wp-block-paragraph">その頃私は五〜六才。当時、浜松市の駅南、海老塚町に住んでいました。浜松駅に停車する蒸気機関車の汽笛や車両がエアーを排出する音も聞こえましたっけ。西の方からは夜行列車のガタンゴトン・・・耳を澄ましながら眠ってしまう。</p>



<p class="wp-block-paragraph">今や、夜行列車は観光目的の運行だけ。</p>



<p class="wp-block-paragraph">(Cubase)(Remake2014 Original2006)(1208)</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>
					
					<wfw:commentRss>https://imakat.com/2014/03/01/469/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">469</post-id>	</item>
		<item>
		<title>やさしいシルエット(Tender Silhouette)</title>
		<link>https://imakat.com/2013/12/01/454/</link>
					<comments>https://imakat.com/2013/12/01/454/#respond</comments>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Sun, 01 Dec 2013 02:32:00 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false"></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-22438238"></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=uAuGUytQ.png" draggable="false"><audio id="myVideo" playsinline preload="none" data-protected="false"><source src="https://imakat.com/rd.php?id=nNUceoQY.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">やさしいシリーズ第一弾。やさしいシルエット。誰もやさしさを心に持っていて、言葉や行動の端々、顔の表情や体の動きに滲み出てくるものだと思っています。それは、もともと淡くぼんやりしたものなのですが、無理して強調しなくても、実はちゃんと伝わるものではないでしょうか。このシリーズでは、シンプルな楽器構成、和音構成で静かで聴きやすく表現したいと思っています。まだ第二弾が出来ていませんが。そうですね。同じような感じで同じようにLogicで作りましょうかね。</p>



<p class="wp-block-paragraph">(Logic)(Dec/2013)(1132)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://imakat.com/2013/12/01/454/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">454</post-id>	</item>
		<item>
		<title>君の田舎 ( Your Country / Bagaimana Kampungmu? )</title>
		<link>https://imakat.com/2013/11/01/3080/</link>
		
		<dc:creator><![CDATA[imakat]]></dc:creator>
		<pubDate>Fri, 01 Nov 2013 09:50:43 +0000</pubDate>
				<category><![CDATA[自作音楽'11~'14]]></category>
		<category><![CDATA[音楽作品]]></category>
		<guid isPermaLink="false">https://imakat.com/?p=3080</guid>

					<description><![CDATA[(Cubase)(Nov.2013)]]></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-58588504"></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=SvdW4HHn.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">(Cubase)(Nov.2013)</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3080</post-id>	</item>
	</channel>
</rss>
