メニューを切り替える
個人設定メニューを切り替える
個人メニューを切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。

「お好み焼き・もんじゃ」の版間の差分

提供: 川西図鑑
編集の要約なし
編集の要約なし
3行目: 3行目:
   <a href="/">ホーム</a>
   <a href="/">ホーム</a>
   › <a href="/wiki/飲食店検索">飲食店検索</a>
   › <a href="/wiki/飲食店検索">飲食店検索</a>
   <span id='navText'></span>
   <span id='navText'> › お好み焼き・もんじゃ</span>
</nav>
</nav>
<style>
<style>
.breadcrumb {
  .breadcrumb {
  font-size: 14px;
    font-size: 14px;
  color: #555;
    color: #555;
  margin-bottom: 12px;
    margin-bottom: 12px;
}
  }


.breadcrumb a {
  .breadcrumb a {
  color: #3366cc;
    color: #3366cc;
  text-decoration: none;
    text-decoration: none;
}
  }


.breadcrumb span {
  .breadcrumb span {
  color: #333;
    color: #333;
  font-weight: bold;
    font-weight: bold;
}
  }
.search-intro p {
  .search-intro p {
  margin: 4px 0;
    margin: 4px 0;
}
  }
/* --- 検索説明文(ライトテーマ) --- */
  /* --- 検索説明文(ライトテーマ) --- */
html.skin-theme-clientpref-day .search-intro {
  html.skin-theme-clientpref-day .search-intro {
  background: #f7f9fc;
    background: #f7f9fc;
  padding: 12px 16px;
    padding: 12px 16px;
  border-radius: 8px;
    border-radius: 8px;
  margin-bottom: 20px;
    margin-bottom: 20px;
  font-size: 0.95rem;
    font-size: 0.95rem;
  line-height: 1.6;
    line-height: 1.6;
}
  }


/* --- 検索説明文(ダークテーマ) --- */
  /* --- 検索説明文(ダークテーマ) --- */
html.skin-theme-clientpref-night .search-intro {
  html.skin-theme-clientpref-night .search-intro {
  background: #1f2430;
    background: #1f2430;
  color: #e5e7eb;
    color: #e5e7eb;
  padding: 12px 16px;
    padding: 12px 16px;
  border-radius: 8px;
    border-radius: 8px;
  margin-bottom: 20px;
    margin-bottom: 20px;
  font-size: 0.95rem;
    font-size: 0.95rem;
  line-height: 1.6;
    line-height: 1.6;
}
  }
</style>
</style>
</html>
</html>
189行目: 189行目:


<style>
<style>
.clear-btn {
  .clear-btn {
  margin-left: auto;
    margin-left: auto;
  padding: 8px 16px;
    padding: 8px 16px;
  background: #ccc;
    background: #ccc;
  border-radius: 6px;
    border-radius: 6px;
  cursor: pointer;
    cursor: pointer;
  user-select: none;
    user-select: none;
  font-size: 14px;
    font-size: 14px;
  color: black;
    color: black;
}
  }


.clear-btn:active {
  .clear-btn:active {
  opacity: 0.7;
    opacity: 0.7;
}
  }


.search-btn {
  .search-btn {
    margin-left: 10px;
      margin-left: 10px;
    display: block;
      display: block;
    width: 75px;
      width: 75px;
    padding: 14px 0;
      padding: 14px 0;
    background: #0078ff;
      background: #0078ff;
    color: #fff;
      color: #fff;
    font-size: 18px;
      font-size: 18px;
    font-weight: 600;
      font-weight: 600;
    text-align: center;
      text-align: center;
    border: none;
      border: none;
    border-radius: 8px;
      border-radius: 8px;
    cursor: pointer;
      cursor: pointer;
    transition: all 0.25s ease;
      transition: all 0.25s ease;
}
  }
#searchText,
  #searchText,
#searchForm select{
  #searchForm select{
    height: 35px;
      height: 35px;
    font-size: 1em;
      font-size: 1em;
    background-color: Canvas;
      background-color: Canvas;
    color: CanvasText;
      color: CanvasText;
}
  }
.inputbox {
  .inputbox {
    width: 100%;
      width: 100%;
    max-width: 450px;
      max-width: 450px;
}
  }
#searchForm input[type="radio"],
  #searchForm input[type="radio"],
#searchForm input[type="checkbox"] {
  #searchForm input[type="checkbox"] {
    transform: scale(1.5);
      transform: scale(1.5);
    transform-origin: left center;
      transform-origin: left center;
    margin-right: 15px;
      margin-right: 15px;
}
  }
#searchForm fieldset label {
  #searchForm fieldset label {
    display: flex;
      display: flex;
    align-items: center;
      align-items: center;
    width: 50%;
      width: 50%;
    box-sizing: border-box;
      box-sizing: border-box;
    margin-bottom: 8px;
      margin-bottom: 8px;
}
  }
#searchForm fieldset {
  #searchForm fieldset {
    display: flex;
      display: flex;
    flex-wrap: wrap;
      flex-wrap: wrap;
}
  }


.search-form {
  .search-form {
    max-width: 700px;
      max-width: 700px;
    margin: 1em auto;
      margin: 1em auto;
    font-size: 14px;
      font-size: 14px;
}
  }


.form-row {
  .form-row {
    display: flex;
      display: flex;
    align-items: center;
      align-items: center;
    margin: 0.5em 0;
      margin: 0.5em 0;
    gap: 1em;
      gap: 1em;
}
  }


/* トグルスイッチ */
  /* トグルスイッチ */
.toggle {
  .toggle {
    position: relative;
      position: relative;
    width: 40px;
      width: 40px;
    height: 22px;
      height: 22px;
    display: inline-block;
      display: inline-block;
}
  }


.toggle input {
  .toggle input {
    display: none;
      display: none;
}
  }


.slider {
  .slider {
    position: absolute;
      position: absolute;
    cursor: pointer;
      cursor: pointer;
    inset: 0;
      inset: 0;
    background: #ccc;
      background: #ccc;
    border-radius: 22px;
      border-radius: 22px;
}
  }


.slider::before {
  .slider::before {
    content: "";
      content: "";
    position: absolute;
      position: absolute;
    height: 18px;
      height: 18px;
    width: 18px;
      width: 18px;
    left: 2px;
      left: 2px;
    top: 2px;
      top: 2px;
    background: white;
      background: white;
    border-radius: 50%;
      border-radius: 50%;
    transition: .3s;
      transition: .3s;
}
  }


.toggle input:checked+.slider {
  .toggle input:checked+.slider {
    background: #4caf50;
      background: #4caf50;
}
  }


.toggle input:checked+.slider::before {
  .toggle input:checked+.slider::before {
    transform: translateX(18px);
      transform: translateX(18px);
}
  }


/* アコーディオン */
  /* アコーディオン */
html.skin-theme-clientpref-day .accordion {
  html.skin-theme-clientpref-day .accordion {
    margin-top: 1em;
      margin-top: 1em;
    border: 1px solid #ccc;
      border: 1px solid #ccc;
    padding: 1em;
      padding: 1em;
    border-radius: 6px;
      border-radius: 6px;
    background-color: #f7f9fc;
      background-color: #f7f9fc;
}
  }


html.skin-theme-clientpref-night .accordion {
  html.skin-theme-clientpref-night .accordion {
    margin-top: 1em;
      margin-top: 1em;
    border: 1px solid #ccc;
      border: 1px solid #ccc;
    padding: 1em;
      padding: 1em;
    border-radius: 6px;
      border-radius: 6px;
    background: #1f2430;
      background: #1f2430;
    color: #e5e7eb;
      color: #e5e7eb;
}
  }


.accordion summary {
  .accordion summary {
    cursor: pointer;
      cursor: pointer;
    font-weight: bold;
      font-weight: bold;
}
  }


fieldset {
  fieldset {
    border: none;
      border: none;
    margin: 1em 0;
      margin: 1em 0;
}
  }


legend {
  legend {
    font-weight: bold;
      font-weight: bold;
}
  }


.search-card {
  .search-card {
  border: 1px solid #ddd;
    border: 1px solid #ddd;
  border-radius: 8px;
    border-radius: 8px;
  padding: 10px;
    padding: 10px;
  margin-bottom: 12px;
    margin-bottom: 12px;
  max-width: 600px;
    max-width: 600px;
  transition: box-shadow 0.2s;
    transition: box-shadow 0.2s;
  max-height: 332px;
    max-height: 332px;
}
  }
.search-card:hover {
  .search-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
  }
.card-header {
  .card-header {
  margin-bottom: 5px;
    margin-bottom: 5px;
}
  }
.card-title {
  .card-title {
  margin: 0;
    margin: 0;
}
  }
.card-genre {
  .card-genre {
  margin: 0;
    margin: 0;
  font-size: calc(1em - 3px);
    font-size: calc(1em - 3px);
}
  }
.img-crop {
  .img-crop {
  height: 200px;
    height: 200px;
  overflow-x: auto;
    overflow-x: auto;
  overflow-y: hidden;
    overflow-y: hidden;
  white-space: nowrap;
    white-space: nowrap;
}
  }
.img-crop p,
  .img-crop p,
.img-crop > div {
  .img-crop > div {
  height: 100%;
    height: 100%;
  margin: 0;
    margin: 0;
  display: flex;
    display: flex;
  flex-direction: row;
    flex-direction: row;
  width: max-content;
    width: max-content;
}
  }
.crop-img img {
  .crop-img img {
  width: 200px;
    width: 200px;
  height: 200px;
    height: 200px;
  object-fit: cover;
    object-fit: cover;
  border-radius: 4px;
    border-radius: 4px;
  display: inline-block;
    display: inline-block;
  margin-right: 2px;
    margin-right: 2px;
}
  }
.card-info {
  .card-info {
  margin-top: 10px;
    margin-top: 10px;
}
  }
.card-cost, .card-address {
  .card-cost, .card-address {
  margin: 0;
    margin: 0;
  font-size: calc(1em - 3px);
    font-size: calc(1em - 3px);
}
  }
</style>
</style>
<script>
<script>
411行目: 411行目:


document.addEventListener('DOMContentLoaded', function () {
document.addEventListener('DOMContentLoaded', function () {
   const params = new URLSearchParams(window.location.search);
   // タイトル生成
 
  let title = "川西市でおすすめのおいしいお好み焼き・もんじゃをご紹介! | 川西図鑑";
  params.forEach((value, key) => {
  // タイトル更新
    // input, select, checkbox, radio 全対応
   document.title = title;
    const el = document.querySelector(`[name="${key}"]`);
    if (!el) return;
 
    // checkbox / radio (name[] の対応含む)
    if (el.type === "checkbox" || el.type === "radio") {
      document.querySelectorAll(`[name="${key}"]`).forEach(input => {
        if (input.value === value) {
          input.checked = true;
        }
      });
    } else {
      // text / select など
      el.value = value;
    }
  });
 
   const clearBtn = document.querySelector('.clear-btn');
  const form = document.getElementById('searchForm');
 
  clearBtn.addEventListener('click', function () {


    form.reset();
  });
  // URLパラメータ取得
  var area = params.get("station");
  var category = params.get("genre");
 
  var reservable = params.get("reservable");
  var smoking = params.get("smoking");
  var tabehodai = params.get("tabehodai");
  var nomihodai = params.get("nomihodai");
  var takeout = params.get("takeout");
  var parking = params.get("parking");
  var kids = params.get("kids");
  var reserve = params.get("reserve");
   var count = document.getElementById("count");
   var count = document.getElementById("count");
   count = count.dataset.total.toString();
   count = count.dataset.total.toString();


  // タイトル生成
  let title = "川西市でおすすめのグルメ情報をご紹介! | 川西図鑑";
  // パンくず用テキスト生成
  let nav = "";
  if (area) {
    if (category) {
      title = `${area}でおすすめのおいしい${category}をご紹介! | 川西図鑑`;
      nav = ` › ${area} × ${category}`;
    } else {
      title = `${area}でおすすめのおいしいグルメをご紹介! | 川西図鑑`;
      nav = ` › ${area}`;
    }
  } else if (category) {
    title = `川西市でおすすめのおいしい${category}をご紹介! | 川西図鑑`;
      nav = ` › ${category}`;
  }
  // タイトル更新
  document.title = title;
  // パンくず更新
  document.getElementById('navText').textContent = nav;
  if (area) {
    area = "の" + area;
  } else {
    area = "";
  }


   if (category) {
   if (category) {
494行目: 431行目:
     count = "";
     count = "";
   }
   }
  if (reservable) {
    reservable = "予約可能";
  } else {
    reservable = "";
  }
  if (smoking == "non" ) {
    smoking = "禁煙";
  } else {
    smoking = "";
  }
  if (tabehodai) {
    tabehodai = "食べ放題あり";
  } else {
    tabehodai = "";
  }
  if (nomihodai) {
    nomihodai = "飲み放題あり";
  } else {
    nomihodai = "";
  }
  if (takeout) {
    takeout = "テイクアウトあり";
  } else {
    takeout = "";
  }
  if (parking) {
    parking = "駐車場あり";
  } else {
    parking = "";
  }
  if (kids) {
    kids = "お子様連れOK";
  } else {
    kids = "";
  }
  if (reserve) {
    reserve = "貸切可能";
  } else {
    reserve = "";
  }
  const keys = [
  reservable,
  smoking,
  tabehodai,
  nomihodai,
  takeout,
  parking,
  kids,
  reserve,
];
const valid = keys.filter(v => {
  if (!v) return false;
  if (v.trim() === "") return false;
  return true;
});
// 上から3つだけ取得
const top3 = valid.slice(0, 3);
// description に使う文字列を作成
let conditionText = "";
if (top3.length > 0) {
  conditionText = top3.join("・");
}
if (conditionText) {
  conditionText = `${conditionText}のお店を厳選して表示しています。`;
} else {
  conditionText = ``;
}


   // description生成
   // description生成
   let desc = `「川西図鑑」では、兵庫県川西市${area}で人気${category}のお店を ${count}掲載中。${conditionText}営業時間、アクセス、写真、地図などの詳細情報をまとめています。ランチやディナー、テイクアウトなど条件で絞り込みができ、地元でおすすめのお店が見つかります。`;
   let desc = `「川西図鑑」では、兵庫県川西市で人気のお好み焼き・もんじゃのお店を ${count}掲載中。営業時間、アクセス、写真、地図などの詳細情報をまとめています。ランチやディナー、テイクアウトなど条件で絞り込みができ、地元でおすすめのお店が見つかります。`;


   let meta = document.querySelector("meta[name='description']");
   let meta = document.querySelector("meta[name='description']");
667行目: 531行目:
       |fields=COUNT(*)
       |fields=COUNT(*)
       |where=(
       |where=(
           飲食店情報.ジャンル LIKE CONCAT('%お好み焼き・もんじゃ%') AND
           飲食店情報.ジャンル LIKE CONCAT('%お好み焼き・もんじゃ%')
          (飲食店情報.店名 LIKE CONCAT('%','{{#urlget:searchText}}','%')
          OR 飲食店情報.住所 LIKE CONCAT('%','{{#urlget:searchText}}','%')
          OR 飲食店情報.ジャンル LIKE CONCAT('%','{{#urlget:searchText}}','%'))
          {{#if: {{#urlget:station}} | AND 飲食店情報.最寄り = '{{#urlget:station}}' }}
          {{#if: {{#urlget:lanch-dinner}} |
                    {{#ifeq: {{#urlget:lanch-dinner}} | lanch | {{#if: {{#urlget:budget_min}} | AND 飲食店情報.予算昼上限 >= {{#urlget:budget_min}} }} {{#if: {{#urlget:budget_max}} | AND 飲食店情報.予算昼下限 < {{#urlget:budget_max}} }}}}
                    {{#ifeq: {{#urlget:lanch-dinner}} | dinner | {{#if: {{#urlget:budget_min}} | AND 飲食店情報.予算夜上限 >= {{#urlget:budget_min}} }} {{#if: {{#urlget:budget_max}} | AND 飲食店情報.予算夜下限 < {{#urlget:budget_max}} }} }} }}
          {{#ifeq: {{#urlget:smoking}} | non | AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%禁煙%') }}
          {{#ifeq: {{#urlget:smoking}} | allow | AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%喫煙%') AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%分煙%') }}
          {{#if: {{#urlget:tabehodai}} | AND 飲食店情報.食べ放題 = 1 }}
          {{#if: {{#urlget:nomihodai}} | AND 飲食店情報.飲み放題 = 1 }}
          {{#if: {{#urlget:takeout}} | AND 飲食店情報.テイクアウト = 1 }}
          {{#if: {{#urlget:parking}} | AND 飲食店情報.駐車場 = 1 }}
          {{#if: {{#urlget:privateroom}} | AND 飲食店情報.個室 = 1 }}
          {{#if: {{#urlget:wifi}} | AND 飲食店情報.WiFi = 'あり' }}
          {{#if: {{#urlget:barrierfree}} | AND 飲食店情報.バリアフリー = 1 }}
          {{#if: {{#urlget:kids}} | AND 飲食店情報.お子様連れ = 1 }}
          {{#if: {{#urlget:reserve}} | AND 飲食店情報.貸切 = 1 }}
          {{#if: {{#urlget:reservable}} | AND 飲食店情報.予約 = 1 }}
       )
       )
     }}
     }}
709行目: 554行目:
       |fields=飲食店情報._pageName,飲食店情報.店名,飲食店情報.画像,飲食店情報.ジャンル,飲食店情報.郵便番号,飲食店情報.住所,飲食店情報.最寄り,飲食店情報.営業時間月,飲食店情報.定休日,飲食店情報.電話番号,飲食店情報.予算昼下限,飲食店情報.予算昼上限,飲食店情報.予算夜下限,飲食店情報.予算夜上限,飲食店情報.ストリートビューURL,飲食店情報.座標
       |fields=飲食店情報._pageName,飲食店情報.店名,飲食店情報.画像,飲食店情報.ジャンル,飲食店情報.郵便番号,飲食店情報.住所,飲食店情報.最寄り,飲食店情報.営業時間月,飲食店情報.定休日,飲食店情報.電話番号,飲食店情報.予算昼下限,飲食店情報.予算昼上限,飲食店情報.予算夜下限,飲食店情報.予算夜上限,飲食店情報.ストリートビューURL,飲食店情報.座標
       |where=(
       |where=(
           飲食店情報.ジャンル LIKE CONCAT('%お好み焼き・もんじゃ%') AND
           飲食店情報.ジャンル LIKE CONCAT('%お好み焼き・もんじゃ%')
          (飲食店情報.店名 LIKE CONCAT('%','{{#urlget:searchText}}','%')
          OR 飲食店情報.住所 LIKE CONCAT('%','{{#urlget:searchText}}','%')
          OR 飲食店情報.ジャンル LIKE CONCAT('%','{{#urlget:searchText}}','%'))
          {{#if: {{#urlget:station}} | AND 飲食店情報.最寄り = '{{#urlget:station}}' }}
          {{#if: {{#urlget:lanch-dinner}} |
                    {{#ifeq: {{#urlget:lanch-dinner}} | lanch | {{#if: {{#urlget:budget_min}} | AND 飲食店情報.予算昼上限 >= {{#urlget:budget_min}} }} {{#if: {{#urlget:budget_max}} | AND 飲食店情報.予算昼下限 < {{#urlget:budget_max}} }}}}
                    {{#ifeq: {{#urlget:lanch-dinner}} | dinner | {{#if: {{#urlget:budget_min}} | AND 飲食店情報.予算夜上限 >= {{#urlget:budget_min}} }} {{#if: {{#urlget:budget_max}} | AND 飲食店情報.予算夜下限 < {{#urlget:budget_max}} }} }} }}
          {{#ifeq: {{#urlget:smoking}} | non | AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%禁煙%') }}
          {{#ifeq: {{#urlget:smoking}} | allow | AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%喫煙%') AND 飲食店情報.禁煙喫煙 LIKE CONCAT('%分煙%') }}
          {{#if: {{#urlget:tabehodai}} | AND 飲食店情報.食べ放題 = 1 }}
          {{#if: {{#urlget:nomihodai}} | AND 飲食店情報.飲み放題 = 1 }}
          {{#if: {{#urlget:takeout}} | AND 飲食店情報.テイクアウト = 1 }}
          {{#if: {{#urlget:parking}} | AND 飲食店情報.駐車場 = 1 }}
          {{#if: {{#urlget:privateroom}} | AND 飲食店情報.個室 = 1 }}
          {{#if: {{#urlget:wifi}} | AND 飲食店情報.WiFi = 'あり' }}
          {{#if: {{#urlget:barrierfree}} | AND 飲食店情報.バリアフリー = 1 }}
          {{#if: {{#urlget:kids}} | AND 飲食店情報.お子様連れ = 1 }}
          {{#if: {{#urlget:reserve}} | AND 飲食店情報.貸切 = 1 }}
          {{#if: {{#urlget:reservable}} | AND 飲食店情報.予約 = 1 }}
       )
       )
       |format=template
       |format=template
835行目: 661行目:
   border-color: #f9fafb;
   border-color: #f9fafb;
}
}
</style>
</style>
</html>
</html>


__目次非表示__
__目次非表示__

2026年1月7日 (水) 14:39時点における版

検索条件

クリア
予約できる店だけ
こだわり条件
支払い方法
禁煙 / 喫煙
メニュー
設備・サービス
クリア



川西市グルメ

<strong style="float: right;" id="count" data-total="

エラー: テーブル飲食店情報が見つかりません。

" data-limit="30">

エラー: テーブル飲食店情報が見つかりません。

件の結果があります(1 件目~)

検索結果

エラー: テーブル飲食店情報が見つかりません。