<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>こどもだってつらいよ</title>
  <meta name="description" content="平成初期の札幌を舞台にした個人制作アニメ『こどもだってつらいよ』公式サイト。">
  <meta name="keywords" content="こどもだってつらいよ,アニメ,ショートアニメ,平成初期,札幌,個人制作,モンクエ,ジャンカード">
  <link rel="icon" href="images/favicon.ico" sizes="any">
  <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
  
  <!-- Google Analytics (gtag.js) -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-X01H6WWR6M"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'G-X01H6WWR6M');
  </script>

  <!-- CSS読み込み -->
  <link rel="stylesheet" href="style.css">
</head>
<body>

  <!-- ナビゲーションヘッダー -->
  <nav class="site-nav">
    <div class="nav-inner">
      <a href="index.html" class="site-logo-link">
        <img src="images/kodo_titlelogo.png" alt="こどもだってつらいよ" class="site-logo-img">
      </a>
      
      <button class="hamburger-btn" aria-label="メニューを開く" aria-expanded="false">
        <span></span>
        <span></span>
        <span></span>
      </button>

      <ul class="nav-menu">
        <li><a href="#about">作品紹介</a></li>
        <li><a href="#episodes">エピソード</a></li>
        <li><a href="news.html">お知らせ</a></li>
        <li><a href="character.html">キャラクター</a></li>
        <li><a href="author.html">作者紹介</a></li>
        <li><a href="#goods">グッズ</a></li>
        <li><a href="#watch">配信情報</a></li>
        <li><a href="#contact">お問い合わせ</a></li>
      </ul>
    </div>
  </nav>

  <!-- メインビジュアル -->
  <header class="hero">
    <img src="images/kodo_keyart1920x1080.png" alt="こどもだってつらいよ メインビジュアル" class="hero-img">
  </header>

  <main class="container">

    <!-- 1. 作品紹介 -->
    <section id="about" class="card about-section">
      <h2 class="section-title">作品紹介</h2>
      <div class="about-content">
        <img src="images/kodo_story.png" alt="作品イメージ" class="about-img">
        <p class="about-text">
          『こどもだってつらいよ』（通称「こどつら」）は、平成初期の札幌で暮らす小学４年生の〈わたべ〉と〈のきした〉が、流行の「ギョーテンマンシール」を集めたり、人気ゲーム「モンクエ」に夢中になったり、ときどき不思議な冒険に出かけたりする日常アニメ。本作は作者であるケイトアローの少年時代がモデルとなっています。<a href="https://www.amazon.co.jp/dp/B07V83GBWV" target="_blank" rel="noopener noreferrer">Amazonプライム・ビデオ</a>、<a href="https://www.youtube.com/@katearrow" target="_blank" rel="noopener noreferrer">YouTubeチャンネル</a>等で配信中。
        </p>
      </div>
    </section>

    <!-- 2. エピソード -->
    <section id="episodes" class="card episode-section">
      <h2 class="section-title">エピソード</h2>
      
      <div class="episode-grid">

        <div class="episode-card" data-video-id="ysegn7_K8_o">
          <div class="episode-thumb-wrapper">
            <img src="images/ep001.png" alt="第1話 サムネイル" class="episode-thumb">
            <div class="play-btn">
              <svg viewBox="0 0 24 24" width="24" height="24" fill="white">
                <path d="M7 5v14l11-7z"/>
              </svg>
            </div>
          </div>
          <h3 class="episode-title">第1話「大人気ギョーテンマンシール」</h3>
        </div>

        <div class="episode-card" data-video-id="NhsMwSO_brk">
          <div class="episode-thumb-wrapper">
            <img src="images/ep002.png" alt="第2話 サムネイル" class="episode-thumb">
            <div class="play-btn">
              <svg viewBox="0 0 24 24" width="24" height="24" fill="white">
                <path d="M7 5v14l11-7z"/>
              </svg>
            </div>
          </div>
          <h3 class="episode-title">第2話「待望のモンクエ4発売」</h3>
        </div>

        <div class="episode-card" data-video-id="RJBxzR9aWjk">
          <div class="episode-thumb-wrapper">
            <img src="images/ep045.png" alt="第45話 サムネイル" class="episode-thumb">
            <div class="play-btn">
              <svg viewBox="0 0 24 24" width="24" height="24" fill="white">
                <path d="M7 5v14l11-7z"/>
              </svg>
            </div>
          </div>
          <h3 class="episode-title">第45話「ラストランドは終わらない」</h3>
        </div>

        <div class="episode-card" data-video-id="ZUHLXuTna9Q">
          <div class="episode-thumb-wrapper">
           <span class="new-badge">NEW</span>
            <img src="images/ep046.png" alt="第46話 サムネイル" class="episode-thumb">
            <div class="play-btn">
              <svg viewBox="0 0 24 24" width="24" height="24" fill="white">
                <path d="M7 5v14l11-7z"/>
              </svg>
            </div>
          </div>
          <h3 class="episode-title">第46話「めざせ！ゲームクリエイター」</h3>
        </div>

      </div>

      <!-- 下部中央ボタン -->
      <div class="more-btn-wrapper">
        <a href="https://youtube.com/playlist?list=PLAoPbs6KYOg3tlLYOZKKoHie5DbUHP-9A&si=NTetxUZv2C5tON2D" target="_blank" rel="noopener noreferrer" class="more-link">YouTubeですべてみる</a>
      </div>
    </section>

    <!-- 3. お知らせ -->
    <section id="news" class="card news-section">
      <h2 class="section-title">お知らせ</h2>
      <ul class="news-list">
        <li class="news-item">
          <span class="date">2026.10.12</span>
          <a href="news.html#news-006" class="news-title-link">ジャンカードをBOOTH（pixivFACTORY製造）で販売開始</a>
        </li>
        <li class="news-item">
          <span class="date">2026.10.01</span>
          <a href="news.html#news-005" class="news-title-link">「こどもだってつらいよ」公式サイトのリニューアルとURL変更</a>
        </li>
        <li class="news-item">
          <span class="date">2025.09.24</span>
          <a href="news.html#news-004" class="news-title-link">LINEスタンプ「こどもだってつらいよ シールコレクション」</a>
        </li>
        <li class="news-item">
          <span class="date">2025.08.22</span>
          <a href="news.html#news-003" class="news-title-link">カプセルトイ「こどもだってつらいよ グッズコレクション」発売決定！</a>
        </li>
        <li class="news-item">
          <span class="date">2025.01.18</span>
          <a href="news.html#news-002" class="news-title-link">YouTubeチャンネル総再生数が1億回突破！</a>
        </li>
      </ul>

      <!-- 下部中央ボタン -->
      <div class="more-btn-wrapper">
        <a href="news.html" class="more-link">すべてみる</a>
      </div>
    </section>

    <!-- 4. キャラクター -->
    <section id="character" class="card chara-section">
      <h2 class="section-title">キャラクター</h2>

      <div class="chara-grid">
        <div class="chara-card border-blue">
          <img src="images/chara_icon_01.png" alt="わたべ" class="chara-thumb">
          <h3>わたべ</h3>
          <p class="chara-cv">声：ケイトアロー</p>
          <p>札幌に住むごく普通の小学４年生。「わたべ」というあだ名はモンクエでの名前から。じつは絵を描くことが好き。作者ケイトアローの少年時代がモデル。</p>
        </div>

        <div class="chara-card border-green">
          <img src="images/chara_icon_02.png" alt="のきした" class="chara-thumb">
          <h3>のきした</h3>
          <p class="chara-cv">声：コンノコウヘイ</p>
          <p>わたべといつも一緒にいるクラスメイトで友人。自分に正直で裏表が無い。「のきした」というあだ名は、前髪が分厚く「軒下」に似ているため。</p>
        </div>
      </div>

      <!-- 下部中央ボタン -->
      <div class="more-btn-wrapper">
        <a href="character.html" class="more-link">すべてみる</a>
      </div>
    </section>

    <!-- 5. 作者紹介 -->
    <section id="author" class="card author-section">
      <h2 class="section-title">作者紹介</h2>
      
      <div class="author-profile">
        <div class="author-icon-wrapper">
          <img src="images/author_icon.png" alt="ケイトアロー" class="author-thumb">
        </div>

        <div class="author-text">
          <h3>ケイトアロー</h3>
           <p class="author-name">別表記：ケイト・アロー、Kate Arrow</p>
          <p>アニメーター。2006年、インターネット向けアニメーションの制作をきっかけに活動を開始。日本テレビ「ZIP!」あさアニメ枠にて『おはよう忍者隊ガッチャマン』『マジンガーZIP!』『おはようハクション大魔王』『グッド・モーニング!!!ドロンジョ』等のアニメーションを制作。実写映画『ガッチャマン』の同時上映アニメ『劇場版 おはよう忍者隊ガッチャマン』チーフ・アニメーター。テレビ東京系「あにむす！」内ショートアニメとしてオリジナルアニメ『ハッピージョージ』地上波放送。Amazonプライム・ビデオ等でオリジナルアニメ『こどもだってつらいよ』配信。</p>
        </div>
      </div>

      <!-- 下部中央ボタン -->
      <div class="more-btn-wrapper">
        <a href="author.html" class="more-link">くわしくみる</a>
      </div>
    </section>

    <!-- 6. グッズ -->
    <section id="goods" class="card goods-section">
      <h2 class="section-title">グッズ情報</h2>
      
      <div class="goods-grid">
        <a href="https://katearrow.booth.pm/" target="_blank" rel="noopener noreferrer" class="goods-item">
          <img src="images/jancard001.png" alt="グッズ1">
          <h4>ジャンカードショップ（BOOTH）</h4>
        </a>

        <a href="https://suzuri.jp/katearrow" target="_blank" rel="noopener noreferrer" class="goods-item">
          <img src="images/suzuri002.png" alt="グッズ2">
          <h4>こどつらグッズ（SUZURI）</h4>
        </a>
      </div>

    </section>

    <!-- 7. 配信・公式リンク -->
    <section id="watch" class="card link-section">
      <h2 class="section-title">配信・公式リンク</h2>
      <div class="watch-list">
        <a href="https://www.youtube.com/@katearrow" target="_blank" rel="noopener noreferrer" class="watch-btn btn-youtube">
          YouTubeチャンネル
        </a>
        <a href="https://www.amazon.co.jp/dp/B07V83GBWV" target="_blank" rel="noopener noreferrer" class="watch-btn btn-amazon">
          Amazonプライム・ビデオ
        </a>
        <a href="https://www.tiktok.com/@katearrows" target="_blank" rel="noopener noreferrer" class="watch-btn btn-default">
          TikTok
        </a>
        <a href="https://x.com/katearrow" target="_blank" rel="noopener noreferrer" class="watch-btn btn-default">
          X
        </a>
        <a href="https://kodotsura.blog.jp/" target="_blank" rel="noopener noreferrer" class="watch-btn btn-default">
          漫画こどもだってつらいよ
        </a>
        <a href="https://suzuri.jp/katearrow" target="_blank" rel="noopener noreferrer" class="watch-btn btn-default">
          こどつらグッズ（SUZURI）
        </a>
        <a href="https://katearrow.booth.pm/" target="_blank" rel="noopener noreferrer" class="watch-btn btn-default">
          ジャンカードショップ（BOOTH）
        </a>
      </div>
    </section>

    <!-- 8. お問い合わせ -->
    <section id="contact" class="card contact-section">
      <h2 class="section-title">お問い合わせ</h2>
      <p>作者本人への連絡となります。すべてのメールへのご返信はお約束できかねますので、何卒ご了承ください。</p>
      <div class="contact-btn-wrapper">
        <a href="mailto:info@kodotsura.com" class="contact-btn">info@kodotsura.com</a>
      </div>
    </section>

  </main>

  <footer>
    <p>&copy; ケイトアロー</p>
  </footer>

  <!-- 動画再生用ポップアップ -->
  <div id="video-modal" class="modal">
    <div class="modal-content">
      <button type="button" class="modal-close" aria-label="閉じる">&times;</button>
      <div class="iframe-container">
        <iframe id="youtube-player" src="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
      </div>
    </div>
  </div>

  <script>
    // ハンバーガーメニュー制御
    const hamburgerBtn = document.querySelector('.hamburger-btn');
    const navMenu = document.querySelector('.nav-menu');

    hamburgerBtn.addEventListener('click', () => {
      const isOpen = hamburgerBtn.classList.toggle('active');
      navMenu.classList.toggle('active');
      hamburgerBtn.setAttribute('aria-expanded', isOpen);
    });

    document.querySelectorAll('.nav-menu a').forEach(link => {
      link.addEventListener('click', () => {
        hamburgerBtn.classList.remove('active');
        navMenu.classList.remove('active');
        hamburgerBtn.setAttribute('aria-expanded', 'false');
      });
    });

    // 動画モーダル制御
    const modal = document.getElementById('video-modal');
    const player = document.getElementById('youtube-player');
    const closeBtn = document.querySelector('.modal-close');

    document.querySelectorAll('.episode-card').forEach(card => {
      card.addEventListener('click', () => {
        const videoId = card.getAttribute('data-video-id');
        if (videoId) {
          player.src = 'https://www.youtube.com/embed/' + videoId + '?autoplay=1&rel=0';
          modal.classList.add('show');
        }
      });
    });

    closeBtn.addEventListener('click', closeModal);
    modal.addEventListener('click', (e) => { if (e.target === modal) closeModal(); });
    document.addEventListener('keydown', (e) => { if (e.key === 'Escape') closeModal(); });

    function closeModal() {
      modal.classList.remove('show');
      player.src = '';
    }
  </script>
</body>
</html>