        /* 共通設定 */
        body {
            font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
        }
        h1 {
            text-align: center;
            padding: 20px 0;
            color: #333;
        }

        /* コンテナとグリッド設定 */
        .lost-and-found-gallery {
            display: grid; 
            gap: 20px; 
            /* PCデフォルト: 4列表示 */
            grid-template-columns: repeat(4, 1fr); 
            max-width: 1200px; 
            margin: 30px auto; 
            padding: 0 15px;
        }

        /* 個別アイテムの設定 */
        .lost-and-found-gallery .item {
            background-color: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .lost-and-found-gallery .item:hover {
            transform: translateY(-3px); 
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
        }

        /* 画像リンク設定 */
        .lost-and-found-gallery .item a {
            display: block;
        }
        
        /* 画像設定 */
        .lost-and-found-gallery img {
            width: 100%; 
            height: 200px; /* 固定高さを設定し、object-fitで画像をフィットさせる */
            object-fit: cover;
            border-bottom: 1px solid #e0e0e0;
        }

        /* 詳細情報エリア */
        .lost-and-found-gallery .details {
            padding: 10px;
            text-align: left;
        }

        .lost-and-found-gallery .details .name {
            font-weight: bold; 
            margin-top: 0;
            margin-bottom: 5px;
            color: #1a73e8; /* 名称を大会カラーなどで強調 */
            font-size: 1.1em;
        }

        .lost-and-found-gallery .details p {
            margin: 3px 0;
            font-size: 0.85em;
            color: #555;
        }

        /* ------------------------------------------- */
        /* レスポンシブ設定 */
        /* ------------------------------------------- */

        /* タブレット (画面幅992px以下) */
        @media (max-width: 992px) {
            .lost-and-found-gallery {
                grid-template-columns: repeat(3, 1fr); 
            }
        }

        /* スマートフォン (画面幅600px以下) */
        @media (max-width: 600px) {
            .lost-and-found-gallery {
                grid-template-columns: repeat(2, 1fr); 
            }
        }

        /* 小型スマホ (画面幅400px以下) */
        @media (max-width: 400px) {
            .lost-and-found-gallery {
                grid-template-columns: 1fr; 
            }
        }
