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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
<!DOCTYPE html>
<html lang="ja">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Google Tag Manager -->
    <script>
    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-PJXRKX3F');
    </script>
    <!-- End Google Tag Manager -->
    <title>Scratch for school</title>
    <link href="https://fonts.googleapis.com/css2?family=Yomogi&display=swap" rel="stylesheet">
    <style>
    :root {
        --primary-color: #4a90e2;
        --primary-hover: #357ab7;
        --accent-color: #00bfff;
        --text-color: #333;
        --bg-color: #f0f8ff;
        --card-bg: #ffffff;
        --border-color: #e0e0e0;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
        --scrollbar-features: #4a90e2;
        --scrollbar-video: #00bfff;
    }

    /* カスタムスクロールバー */
    body {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        overflow-x: hidden;
    }
    body::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--scrollbar-features) 0%, var(--scrollbar-video) 100%);
        z-index: 1000;
        transition: width 0.1s ease-out;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: 'Yomogi', cursive;
        background-color: var(--bg-color);
        color: var(--text-color);
        line-height: 1.6;
        scroll-behavior: smooth;
    }

    /* 固定ヘッダーボタン */
    .fixed-header {
        position: fixed;
        top: -100px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow);
        z-index: 999;
        transition: top 0.3s ease;
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    .fixed-header.visible {
        top: 0;
    }

    .fixed-header .buttons {
        margin: 0;
    }

    /* ヘッダー背景ビデオ */
    .header-container {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .header-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        filter: brightness(0.5);
    }

    .header-content {
        position: relative;
        z-index: 1;
        color: white;
        padding: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }

    /* ローディングアニメーション */
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--bg-color);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .loading-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .loader {
        width: 48px;
        height: 48px;
        border: 5px solid var(--primary-color);
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    h1 {
        font-family: 'Playpen Sans Deva', cursive;
        font-size: 3rem;
        margin-bottom: 1rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    p.description {
        max-width: 800px;
        margin: 0 auto 2rem;
        font-size: 1.2rem;
        line-height: 1.8;
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .buttons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }

    .buttons a {
        font-family: 'Yomogi', cursive;
        background-color: var(--primary-color);
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-size: 1.1rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        position: relative;
        overflow: hidden;
    }

    .buttons a:hover {
        background-color: var(--primary-hover);
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    .buttons a::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

    .buttons a:focus:not(:active)::after {
        animation: ripple 0.6s ease-out;
    }

    @keyframes ripple {
        0% {
            transform: scale(0, 0);
            opacity: 0.5;
        }
        100% {
            transform: scale(20, 20);
            opacity: 0;
        }
    }

    section {
        padding: 2rem;
        max-width: 1000px;
        margin: 0 auto;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    section#features h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
        position: relative;
        padding-bottom: 0.5rem;
    }

    section#features h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--accent-color);
        border-radius: 3px;
    }

    /* リストスタイル */
    .feature-list {
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        margin-bottom: 2rem;
        transition: var(--transition);
    }

    .feature-list:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .feature-list > li {
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        display: flex;
        align-items: center;
    }

    .feature-list > li::before {
        content: '✓';
        color: var(--accent-color);
        margin-right: 0.5rem;
        font-size: 1.4rem;
    }

    .feature-list ul {
        list-style: none;
        padding-left: 1.5rem;
        margin: 0.5rem 0 1rem;
    }

    .feature-list ul li {
        position: relative;
        padding-left: 1.5rem;
        margin: 0.5rem 0;
        transition: var(--transition);
    }

    .feature-list ul li:hover {
        color: var(--primary-hover);
        transform: translateX(5px);
    }

    .feature-list ul li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--accent-color);
        font-size: 1.2rem;
    }

    .feature-list ul ul {
        border-left: 2px dashed var(--border-color);
        margin-left: 0.5rem;
        padding-left: 1rem;
    }

    .feature-list ul ul li::before {
        content: '◦';
    }

    /* 展開/非表示ボタンのスタイル */
    .toggle-button {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-family: 'Yomogi', cursive;
        font-size: 0.9rem;
        margin: 0.5rem 0;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        box-shadow: var(--shadow);
    }

    .toggle-button:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
    }

    .toggle-button::after {
        content: '↓';
        margin-left: 0.5rem;
        transition: var(--transition);
    }

    .toggle-button[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    /* 展開コンテンツのアニメーション */
    .expandable-content {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.3s ease;
    }

    .expandable-content.show {
        max-height: 2000px;
        opacity: 1;
    }

    /* 動画セクション */
    section#video {
        text-align: center;
        padding: 3rem 1rem;
    }

    section#video h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
    }

    iframe {
        border-radius: 12px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    iframe:hover {
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    /* アニメーション */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* レスポンシブ */
    @media (max-width: 768px) {
        h1 {
            font-size: 2.2rem;
        }
        
        .buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .buttons a {
            width: 100%;
            text-align: center;
        }
        
        iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        }
        
        .header-content {
            padding: 1rem;
        }
    }
    .scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .scrollbar::-webkit-scrollbar {
        display: none;
    }

    </style>
</head>

<body>
    <!-- カスタムスクロールバー -->
    <div class="scroll-progress" id="scrollProgress"></div>



    <!-- 固定ヘッダー -->

    <div class="fixed-header" id="fixedHeader">

        <div class="buttons">

            <a href="https://soiz1-s4s-editor.hf.space/editor.html" target="_blank">→エディターを開く</a>

            <a href="#features">→機能一覧</a>

            <a href="#video">→紹介動画</a>

        </div>

    </div>



    <!-- ローディングアニメーション -->

    <div class="loading-overlay" id="loadingOverlay">

        <div class="loader"></div>

    </div>



    <!-- Google Tag Manager (noscript) -->

    <noscript>

        <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PJXRKX3F" height="0" width="0" style="display:none;visibility:hidden">

        </iframe>

    </noscript>

    <!-- End Google Tag Manager (noscript) -->

    

    <!-- ヘッダーセクション with ビデオ背景 -->

    <div class="header-container">

        <video autoplay muted loop class="header-video">

            <source src="https://huggingface.co/datasets/soiz1/scratch-for-school/resolve/main/vi.mp4?download=true" type="video/mp4">

            <!-- ビデオがサポートされていない場合のフォールバック -->

            Your browser does not support the video tag.

        </video>

        <div class="header-content">

            <h1><img src="https://huggingface.co/datasets/soiz1/scratch-for-school/raw/main/logo-text.svg"></img></h1>

            <p class="description">学校の一人一台端末用にカスタマイズされたScratchGoogleドライブへの保存機能やプロジェクトの共有、カスタマイズされた便利なエディターや高度なブロック、画像分類やフェイストラッキング、ハンドトラッキング、ポーズ認識の拡張機能などの様々な追加機能</p>

            <div class="buttons">

                <a href="https://soiz1-s4s-editor.hf.space/editor.html" target="_blank">→エディターを開く</a>

                <a href="#features">→機能一覧</a>

                <a href="#video">→紹介動画</a>

            </div>

        </div>

    </div>

    

    <!-- スクロール連動ビデオセクション -->

    <div class="header-container" id="videoSection">

        <video muted class="header-video" id="scrollVideo">

            <source src="https://huggingface.co/datasets/soiz1/scratch-for-school/resolve/main/vi2.mp4?download=true" type="video/mp4">

            Your browser does not support the video tag.

        </video>

    </div>

    

    <script src="https://unpkg.com/alpinejs@3.14.9/dist/cdn.min.js" defer></script>

    <section id="features">

        <h2>機能一覧</h2>

        

        <div class="feature-list">

            <li>プロジェクトの保存・共有</li>

            <ul>

                <li>プロジェクトをGoogleドライブに保存</li>

                <li>特定の人とだけの共有</li>

                <li>プロジェクトの短縮URLの作成</li>

                <li>プラットフォームへの共有</li>

            </ul>

        </div>

        

        <div class="feature-list">

            <li>カスタマイズされたエディター</li>

            <ul>

                <li>オフスクリーンレンダリングによる高速化</li>

                <li>フォルダにプロジェクトを保存</li>

                <li>フォルダをZIPとして読み込む</li>

                <li>ライトテーマとダークテーマ</li>

                <li>デバイスのフォントの使用とカスタムフォントを使用した文字の作成</li>

                <li>文字の位置を設定</li>

                <li>新しい背景とコスチュームとサウンド</li>

                <li>背景、コスチューム、サウンドの検索</li>

                <li>カラーピッカーの透明度の設定</li>

                <li>変数とリストを分離</li>

                <li>拡張機能の検索とカテゴリー別のフィルター</li>

                <li>値を返したり色をカスタマイズしたりできるブロック定義</li>

                <li>部位同士の重なった部分の抽出・削除</li>

                <li>100個を超える新しいブロック</li>

                <li>高度な設定</li>

                <ul>

                    <li>ステージのサイズを変更</li>

                    <li>FPS設定</li>

                    <li>ペンできれいに描画する</li>

                    <li>ワープタイマー</li>

                    <li>クローン、動く範囲と大きさなどの制限を解除</li>

                    <li>オフスクリーンレンダリングの有効・無効化</li>

                </ul>

            </ul>

        </div>

        

        <div class="feature-list">

            <li>100個を超える拡張機能</li>        

                

                    <button class="toggle-button" aria-expanded="false" aria-controls="moreExtensions">もっと見る</button>

                    <div id="moreExtensions" class="expandable-content">

                        <ul>

                            <li>独自の拡張機能の読み込み</li>

                            <li>画像内のオブジェクトの認識</li>

                            <li>ハンドトラッキング</li>

                            <li>フェイストラッキング</li>

                            <li>高精度な画像認識AIを作成</li>

                            <li>プロジェクト内で画像認識AIの学習と認識</li>

                            <li>ポーズ認識</li>

                            <li>p5.jsによるアートノイズ生成</li>

                            <li>ステージ内のカメラ移動</li>

                            <li>ファイルのアップロード</li>

                            <li>ZIPを編集</li>

                            <li>高度なペン</li>

                            <li>音声のグループ化</li>

                            <li>複雑なオーディオ操作とエフェクト</li>

                            <li>音の作成</li>

                            <li>動き、イベント、制御、演算カテゴリーの拡張</li>

                            <li>更に高度な定義ブロック</li>

                            <li>コメントの拡張</li>

                            <li>JSON配列の制御</li>

                            <li>Swift JSONの制御</li>

                            <li>パーティクルの作成</li>

                            <li>変数のスタイルの変更</li>

                            <li>物理演算の簡易化</li>

                            <li>スムーズなアニメーション</li>

                            <li>追従と整列</li>

                            <li>スプライトをグリッド上に配置</li>

                            <li>ステージ全体への視覚効果</li>

                            <li>クローンブロックの拡張</li>

                            <li>スプライトを他の画像として表示</li>

                            <li>個別のタイマー</li>

                            <li>ブロックスタック内のみの変数</li>

                            <li>ランタイムまたはスレッド内のみの変数</li>

                            <li>スクラッチオブジェクトの編集</li>

                            <li>フォントの管理</li>

                            <li>プロジェクトを閉ても維持するストレージ</li>

                            <li>HTTPリクエスト</li>

                            <li>WebSocket</li>

                            <li>コンパイルされたスクリプトを並列で実行</li>

                            <li>Penguinmod API</li>

                            <li>三次元用に拡張された演算</li>

                            <li>乱数の拡張</li>

                            <li>文字の圧縮と解凍</li>

                            <li>便利なブロック</li>

                            <li>ログの記録と変数</li>

                            <li>Iframeの作成</li>

                            <li>カラーピッカーの表示</li>

                            <li>色の計算</li>

                            <li>ブロックのすべてのメニューを抽出</li>

                            <li>コメント</li>

                            <li>パーリンノイズ</li>

                            <li>ゲームパッド</li>

                            <li>印刷</li>

                            <li>ステージの切り抜き</li>

                            <li>マウスカーソルの固定</li>

                            <li>カーソルの見た目の変更</li>

                            <li>Scratch認証</li>

                            <li>Javascriptを実行</li>

                            <li>配列</li>

                            <li>スプライトとクローンへの直接アクセス</li>

                            <li>非常に大きな数の計算</li>

                            <li>色のユーティリティ</li>

                        </ul>

                    </div>

                </li>

            <ul>

                <li>拡張機能エディター</li>

            </ul>

        </div>

        

        <div class="feature-list">

            <li>60個を超えるSharkpoolの拡張機能</li>

                

                    <button class="toggle-button" aria-expanded="false" aria-controls="moreSharkpool">もっと見る</button>

                    <div id="moreSharkpool" class="expandable-content">

                        <ul>

                            <li>更に拡張された定義ブロック</li>

                            <li>0znzwに触発させて特定のスクリプトの実行</li>

                            <li>「見た目」カテゴリーの拡張</li>

                            <li>ポップアップの表示</li>

                            <li>様々なユーリティ</li>

                            <li>時差の計算ブロック</li>

                            <li>Scratchの統計</li>

                            <li>ランダムシード番号や地形の生成</li>

                            <li>複雑なオーディオ操作とエフェクト</li>

                            <li>新しい動きブロック</li>

                            <li>YoutubeAPI</li>

                            <li>GeometryDashAPI</li>

                            <li>オシレーターの演奏</li>

                            <li>「調べる」カテゴリーの拡張</li>

                            <li>高度なキー検出</li>

                            <li>ビデオセンシング拡張機能の拡張</li>

                            <li>クローン無しでパーティクルを作成</li>

                            <li>SVG、スプライト、ステージにエフェクトを適用</li>

                            <li>画像にエフェクトやフィルターを適用</li>

                            <li>画像のピクセルデータの作成と編集</li>

                            <li>ピクセルユーティリティ</li>

                            <li>マイクの録音</li>

                            <li>Newgroundsから音声を取得</li>

                            <li>スプライトをリンクさせて親の動きに追従</li>

                            <li>衝突検出</li>

                            <li>ボックスの衝突検出</li>

                            <li>ファイル拡張機能の拡張</li>

                            <li>スプライト、スレッド、プロジェクト用の一時変数</li>

                            <li>新しい変数モニター</li>

                            <li>リストのカスタマイズ</li>

                            <li>ゲームパッド拡張機能の拡張</li>

                            <li>タイルグリッド上にスプライトを配置</li>

                            <li>「2000年以降」ブロックの拡張</li>

                            <li>アニメーションキーフレームの作成</li>

                            <li>プロジェクト、スクリプト、スプライトを一時停止</li>

                            <li>TikTokAPIの音声読み上げ</li>

                            <li>メッセージブロック</li>

                            <li>高度なメッセージブロック</li>

                            <li>高度なFetch</li>

                            <li>ユーザーの現在位置の取得</li>

                            <li>Spotifyの音楽を再生</li>

                            <li>SoundCloudAPI</li>

                            <li>Googleスプレッドシートの読み書き</li>

                            <li>通貨情報</li>

                            <li>高度なテキストの表示</li>

                            <li>色のユーティリティーと変換</li>

                            <li>QRコードの作成と読み取り</li>

                            <li>実行時にイベントを検出</li>

                            <li>カスタマイズ可能な吹き出し</li>

                            <li>プロジェクトのフォント管理</li>

                            <li>レイヤーの操作</li>

                            <li>ペン、背景、ビデオカメラ、スプライトなどのビジュアル</li>

                            <li>タイムゾーン変換</li>

                            <li>パーリンノイズ</li>

                            <li>高度な制御ブロック</li>

                            <li>新しい強力な演算</li>

                            <li>クライアントベースのキャプチャ</li>

                            <li>コメントのカスタマイズ</li>

                            <li>スプライトとクローンの管理</li>

                            <li>DOMの取得</li>

                            <li>SVGスプライトの作成とエクスポート</li>

                            <li>プロジェクトの宣伝</li>

                            <li>GIFの作成と分割</li>

                            <li>超高速JSON配列</li>

                            <li>カスタムドロップダウンの作成</li>

                            <li>スキン拡張機能の改良</li>

                            <li>Unityのようなシーンを作成</li>

                            <li>ペンレイヤーの作成</li>

                        </ul>

                    </div>

                </li>

        </div>

        

        <div class="feature-list">

            <li>40個を超えるPenguinmodの拡張機能</li>

            <ul>

                <li>WebSocket</li>

                <li>Pen+</li>

                <li>物理処理</li>

                <li>高速なJSON処理</li>

                <li>ファイルの更新(直接編集)</li>

                <li>3D数学</li>

                <li>スコープ変数</li>

                <li>音声を文字起こし</li>

                <li>背景除去</li>

                <li>エンドツーエンド暗号化</li>

                <li>WebRTC</li>

                <li>ランダムユーティリティ</li>

                <li>ユーザーの位置情報</li>

                <li>値の型を追加</li>

                <li>PenguinAI(chatGPTDALL E3など)</li>

                <li>スプライトシート</li>

                <li>webhook</li>

                <li>アラート</li>

                <li>数値ユーティリティ</li>

                <li>高度な数学</li>

                <li>小数点以下の拡張による高精度演算</li>

                <li>GithubAPI</li>

                <li>Google認証</li>

                <li>PenguinmodAPI</li>

                <li>Discord</li>

                <li>Twitch</li>

                <li>チェス</li>

                <li>天気予報</li>

                <li>CORS PROXY Fetch</li>

                <li>生の拡張機能へのアクセス</li>

                <li>プロジェクトページの操作(一部はs4sで使用できない)</li>

                <li>すべてのメニュー</li>

                <li>フィールド</li>

                <li>Beepbox</li>

                <li>ファイルをネットに保存</li>

                <li>URLの#以降の取得</li>

                <li>Scratchブロックの生成</li>

                <li>猫に関するブロック</li>

                <li>Scratchで削除されたカウンターブロック</li>

                <li>文字から行数を取得</li>

                <li>Wssサーバー</li>

                <li>TTStool APIによる読み上げ</li>

                <li>画面やカメラを共有</li>

                <li>エディターでマウスについてくる猫</li>

                <li>Web GPU</li>

                <li>数値の書式</li>

                <li>プロジェクトにインターフェースを追加</li>

                <li>ブロックAI</li>

            </ul>

        </div>

        

        <div class="feature-list">

            <li>90個を超えるTurbowarpの拡張機能</li>

        </div>

    </section>

    

    <section id="video">

        <h2>紹介動画</h2>

        <iframe width="560" height="315" src="https://www.youtube.com/embed/" title="解説動画" frameborder="0" allowfullscreen></iframe>

    </section>

    

    <script>

        // ローディングアニメーション

        window.addEventListener('load', function() {
            setTimeout(function() {
                document.getElementById('loadingOverlay').classList.add('hidden');
            }, 800);
        });
        
        // トグルボタンの機能
        document.addEventListener('DOMContentLoaded', function() {
            const toggleButtons = document.querySelectorAll('.toggle-button');
            
            toggleButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const expanded = this.getAttribute('aria-expanded') === 'true';
                    const targetId = this.getAttribute('aria-controls');
                    const target = document.getElementById(targetId);
                    
                    this.setAttribute('aria-expanded', !expanded);
                    
                    if (!expanded) {
                        target.classList.add('show');
                    } else {
                        target.classList.remove('show');
                    }
                });
            });
        });
        
        // クリック時のリップルエフェクト
        document.addEventListener('click', function(e) {
            if (e.target.classList.contains('buttons') || e.target.closest('.buttons a')) {
                return;
            }
            
            const buttons = document.querySelectorAll('.buttons a');
            buttons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.preventDefault();
                    const href = this.getAttribute('href');
                    
                    // リップルエフェクトを作成
                    const ripple = document.createElement('span');
                    ripple.classList.add('ripple');
                    this.appendChild(ripple);
                    
                    // アニメーション後に移動
                    setTimeout(() => {
                        if (href.startsWith('http')) {
                            window.open(href, '_blank');
                        } else {
                            document.querySelector(href).scrollIntoView({
                                behavior: 'smooth'
                            });
                        }
                        ripple.remove();
                    }, 300);
                });
            });
        });

        // スクロール連動ビデオ制御
        const scrollVideo = document.getElementById('scrollVideo');
        const videoSection = document.getElementById('videoSection');
        const fixedHeader = document.getElementById('fixedHeader');
        
        // ビデオのメタデータが読み込まれたら
        scrollVideo.addEventListener('loadedmetadata', function() {
            // ビデオの高さを設定
            videoSection.style.height = scrollVideo.duration * 100 + 'vh';
            
            // スクロールイベントリスナーを設定
            let isScrolling = false;
            let lastScrollPosition = window.scrollY;
            
            window.addEventListener('scroll', function() {
                // 固定ヘッダーの表示/非表示
                const scrollY = window.scrollY;
                const headerHeight = document.querySelector('.header-container').offsetHeight;
                
                if (scrollY > headerHeight) {
                    fixedHeader.classList.add('visible');
                } else {
                    fixedHeader.classList.remove('visible');
                }
                
                // ビデオセクション内でのスクロール処理
                const videoSectionTop = videoSection.offsetTop;
                const videoSectionHeight = videoSection.offsetHeight;
                const windowHeight = window.innerHeight;
                
                if (scrollY >= videoSectionTop && scrollY <= videoSectionTop + videoSectionHeight - windowHeight) {
                    // スクロール位置に基づいてビデオの再生位置を設定
                    const scrollRatio = (scrollY - videoSectionTop) / (videoSectionHeight - windowHeight);
                    const videoTime = scrollRatio * scrollVideo.duration;
                    
                    // スクロール方向に応じてスムーズにシーク
                    if (!isScrolling) {
                        isScrolling = true;
                        
                        requestAnimationFrame(function updateVideo() {
                            const currentTime = scrollVideo.currentTime;
                            const delta = videoTime - currentTime;
                            
                            if (Math.abs(delta) > 0.01) {
                                scrollVideo.currentTime += delta * 0.1;
                                requestAnimationFrame(updateVideo);
                            } else {
                                scrollVideo.currentTime = videoTime;
                                isScrolling = false;
                            }
                        });
                    }
                    
                    // スクロールバーの更新
                    const scrollProgress = document.getElementById('scrollProgress');
                    const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
                    const scrollPercentage = (scrollY / scrollHeight) * 100;
                    
                    scrollProgress.style.width = scrollPercentage + '%';
                    scrollProgress.style.background = 'var(--primary-color)';
                }
                
                lastScrollPosition = scrollY;
            });
            
            // セクション表示アニメーション
            const sections = document.querySelectorAll('section');
            
            function checkScroll() {
                sections.forEach(section => {
                    const sectionTop = section.getBoundingClientRect().top;
                    const windowHeight = window.innerHeight;
                    
                    if (sectionTop < windowHeight * 0.75) {
                        section.classList.add('visible');
                    }
                });
            }
            
            window.addEventListener('scroll', checkScroll);
            window.addEventListener('load', checkScroll);
        });
        
        // ビデオを手動でミュート解除できるように
        scrollVideo.addEventListener('click', function() {
            this.muted = !this.muted;
        });
    </script>
</body>

</html>