
@charset "UTF-8";

/* === ベース ===================================== */
        body {
            font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
            background-color: #fff;
            color: #000;
            margin: 0;
            padding: 0;
        }
        img {
            max-width: 100%;
            height: auto;
        }

/* === ヘッダー & ハンバーガーメニュー ============ */
        .header {
            background-color: #ea2;
            color: #fff;
            padding: 10px 48px 10px 10px; /* 右にハンバーガー分の余白確保 */
            position: relative;
            display: flex;
            justify-content: center; /* 見出しを中央 */
            align-items: center;
        }
        .header h1 {
            font-size: 0.8rem;
            margin: 0;
            text-shadow:0 1px 3px rgba(0,0,0,.3);
        }
        .header a {
            color: #fff;
            text-decoration: none;
        }

/* ハンバーガーボタン */
        .hamburger {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            width: 34px;
            height: 26px;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 4px 0;
        }
        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background: #fff;
            border-radius: 3px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
/* クリック時に×へ変形 */
        .hamburger.active span:nth-child(1) {
            transform: translateY(11px) rotate(45deg);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: translateY(-11px) rotate(-45deg);
        }

/* ナビゲーションメニュー */
        .nav-menu {
            position: fixed;
            top: 0;
            right: -260px; /* 隠しておく */
            width: 260px;
            height: 100vh;
            background: #ea2;
            color: #fff;
            padding-top: 70px; /* ヘッダー高さ分 */
            box-shadow: -4px 0 8px rgba(0,0,0,0.2);
            transition: right 0.3s ease;
            z-index: 1000;
        }
        .nav-menu.open {
            right: 0;
        }
        .nav-menu ul {
            list-style: none;
            margin: 0;
            padding: 0 24px;
        }
        .nav-menu li {
            margin-bottom: 1.2rem;
        }
        .nav-menu a {
            color: #fff;
            font-size: 1.1rem;
        }


/* === コンテンツ共通 ====================== */
        .container {
            max-width: 740px;
            margin: 0 auto;
            padding: 20px;
            text-align: left;
        }
        h2 {
            font-size: clamp(1rem, 5vw, 1.5rem);
            white-space: nowrap;
            text-align: center;
        }
        h3 {
            font-size: 1.0rem;
            color: #fff;
            display: inline-block;
            background-color: #e22;
            padding: 0.5rem 3rem;
            border-radius: 0.5rem;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
        }
        p {
            color: #333;
            font-size: 1rem;
            line-height: 1.6;
        }
        a {
            color: #88f;
            text-decoration: none;
        }
        .pan-kuzu {
            font-size: 0.7rem;
            color: #666;
        }
        .details {
            margin-top: 20px;
            text-align: center;
        }

/* === フッター ============== */
        .footer {
            background-color: #ddc;
            margin-top: 30px;
            text-align: center;
            padding: 10px;
        }
        .footer p {
            font-size: 0.8rem;
            color: #666;
        }

/* === LINK ========= */
        .link {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        .link p {
            width: calc(45% - 1rem);
            background-color: #fd6;
            padding: 1rem;
            border-radius: 0.25rem;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
            font-size: 0.8rem;
            line-height: 1.0;
            text-align: center;
            margin: 0;
            cursor:pointer;
            transition: transform .35s ease,
                        filter   .35s ease,
                        box-shadow .35s ease;     /* ← transitionで囲み自体をターゲット */
        }
        .link p:hover{
            transform: translateY(-3px) scale(1.03);          /* 浮かせて 3% 拡大 */
            filter: brightness(1.05);                         /* 少し明るく */
            box-shadow: 0 10px 25px rgba(0,0,0,.25);          /* 直接値を書く */
        }

/* === その他共通 ============== */
        @media (min-width: 800px) {
            .link p {
                width: calc(21% - 1rem);
            }
        }
        @media (max-width: 400px) {
            .link p {
                width: 90%;
            }
        }

       
/* ===== リンク付き画像のホバー効果 ===== */
        a img {
            transition: transform .35s ease,
                        filter   .35s ease,
                        box-shadow .35s ease;
        }

        a:hover img {
            transform: translateY(-3px) scale(1.03);          /* 浮かせて 3% 拡大 */
            filter: brightness(1.2);                         /* 少し明るく */
            box-shadow: 0 10px 25px rgba(0,0,0,.25);          /* 直接値を書く */
        }

/* === フェードイン Anim =================== */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .fade-in.show {
            opacity: 1;
            transform: none;
        }
