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

「テンプレート:エリア」の版間の差分

提供: 川西図鑑
ページの作成:「<html> <style> ======================================== エリアページ全体 ========================================: .area-page { max-width: 1200px; margin: 0 auto; padding: 20px; } ======================================== エリアヘッダー ========================================: .area-header { text-align: center; padding: 2em 0 3em; border-bottom: 2px solid #f59e0b; margin-bottom: 3em; } .area-header h1 { font-size: 32p…」
 
編集の要約なし
 
(同じ利用者による、間の37版が非表示)
1行目: 1行目:
<html>
<templatestyles src="エリア/styles.css" />
<style>
{{#tag:metadesc | {{{summary|}}}{{{features|}}} }}
/* ========================================
  エリアページ全体
======================================== */
.area-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
 
/* ========================================
  エリアヘッダー
======================================== */
.area-header {
  text-align: center;
  padding: 2em 0 3em;
  border-bottom: 2px solid #f59e0b;
  margin-bottom: 3em;
}
 
.area-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
}
 
.area-header .area-tagline {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}
 
/* ========================================
  カテゴリーカードグリッド
======================================== */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 3em 0;
}
 
.category-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
}
 
.category-card-item:not(.disabled):hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}
 
.category-card-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
 
.category-card-item .card-icon {
  font-size: 40px;
  line-height: 1;
  filter: brightness(1.1);
}
 
.category-card-item .card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
 
.category-card-item .card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  display: block;
}
 
/* Wikiリンクのスタイル調整 */
.category-card-item .card-title a {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  display: block;
  padding: 8px;
  margin: -8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
 
.category-card-item .card-title a:hover {
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}
 
/* カード全体をクリック可能にする擬似要素 */
.category-card-item:not(.disabled) .card-title a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
 
.category-card-item .card-status {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
}
 
/* ========================================
  セクション共通
======================================== */
.area-section {
  margin: 3em 0;
  padding: 2em;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}
 
.area-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1em 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f59e0b;
}
 
.area-section p {
  line-height: 1.8;
  color: #374151;
  margin: 0.8em 0;
}
 
.area-section ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}
 
.area-section ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.6;
  color: #374151;
}
 
.area-section ul li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: #f59e0b;
  font-weight: bold;
}
 
/* ========================================
  関連項目
======================================== */
.related-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1em 0;
}
 
.related-items a {
  display: inline-block;
  padding: 8px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
 
.related-items a:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #d97706;
}
 
/* ========================================
  ダークモード
======================================== */
.skin-theme-clientpref-night .area-header h1,
.skin-theme-clientpref-night .area-section h2 {
  color: #f9fafb;
}
 
.skin-theme-clientpref-night .area-header {
  border-bottom-color: #f59e0b;
}
 
.skin-theme-clientpref-night .area-header .area-tagline,
.skin-theme-clientpref-night .area-section p,
.skin-theme-clientpref-night .area-section ul li {
  color: #d1d5db;
}
 
.skin-theme-clientpref-night .category-card-item {
  background: #1e1e1e;
  border-color: #3a3a3a;
}
 
.skin-theme-clientpref-night .category-card-item .card-title,
.skin-theme-clientpref-night .category-card-item .card-title a {
  color: #f9fafb;
}
 
.skin-theme-clientpref-night .category-card-item .card-status {
  background: #374151;
  color: #9ca3af;
}
 
.skin-theme-clientpref-night .category-card-item:not(.disabled):hover {
  border-color: #f59e0b;
  background: #2a2a2a;
}
 
.skin-theme-clientpref-night .category-card-item .card-title a:hover {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
}
 
.skin-theme-clientpref-night .area-section {
  background: #1e1e1e;
  border-color: #3a3a3a;
}
 
.skin-theme-clientpref-night .related-items a {
  background: #2a2a2a;
  border-color: #3a3a3a;
  color: #e5e7eb;
}
 
.skin-theme-clientpref-night .related-items a:hover {
  background: #374151;
  border-color: #f59e0b;
  color: #fbbf24;
}
 
/* ========================================
  ダークモード(自動)
======================================== */
@media (prefers-color-scheme: dark) {
  .skin-theme-clientpref-os .area-header h1,
  .skin-theme-clientpref-os .area-section h2 {
    color: #f9fafb;
  }
 
  .skin-theme-clientpref-os .area-header {
    border-bottom-color: #f59e0b;
  }
 
  .skin-theme-clientpref-os .area-header .area-tagline,
  .skin-theme-clientpref-os .area-section p,
  .skin-theme-clientpref-os .area-section ul li {
    color: #d1d5db;
  }
 
  .skin-theme-clientpref-os .category-card-item {
    background: #1e1e1e;
    border-color: #3a3a3a;
  }
 
  .skin-theme-clientpref-os .category-card-item .card-title,
  .skin-theme-clientpref-os .category-card-item .card-title a {
    color: #f9fafb;
  }
 
  .skin-theme-clientpref-os .category-card-item .card-status {
    background: #374151;
    color: #9ca3af;
  }
 
  .skin-theme-clientpref-os .category-card-item:not(.disabled):hover {
    border-color: #f59e0b;
    background: #2a2a2a;
  }
 
  .skin-theme-clientpref-os .category-card-item .card-title a:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
  }
 
  .skin-theme-clientpref-os .area-section {
    background: #1e1e1e;
    border-color: #3a3a3a;
  }
 
  .skin-theme-clientpref-os .related-items a {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #e5e7eb;
  }
 
  .skin-theme-clientpref-os .related-items a:hover {
    background: #374151;
    border-color: #f59e0b;
    color: #fbbf24;
  }
}
 
/* ========================================
  レスポンシブ
======================================== */
@media (max-width: 768px) {
  .area-page {
    padding: 16px;
  }
 
  .area-header {
    padding: 1.5em 0 2em;
    margin-bottom: 2em;
  }
 
  .area-header h1 {
    font-size: 26px;
  }
 
  .area-header .area-tagline {
    font-size: 14px;
  }
 
  .category-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 2em 0;
  }
 
  .category-card-item {
    padding: 24px 20px;
  }
 
  .category-card-item .card-icon {
    font-size: 36px;
  }
 
  .category-card-item .card-title,
  .category-card-item .card-title a {
    font-size: 16px;
  }
 
  .area-section {
    padding: 1.5em;
    margin: 2em 0;
  }
 
  .area-section h2 {
    font-size: 20px;
  }
}
</style>
</html>
 
<div class="area-page">
<div class="area-page">
<!-- エリアヘッダー -->
<div class="area-header">
= 川西中央エリア =
<p class="area-tagline">
川西能勢口駅を中心とした川西市の中心部。<br>
商業施設や飲食店が集まり、通勤・通学や買い物など日常的に利用されるエリアです。
</p>
</div>
<!-- このエリアの情報 -->
<!-- このエリアの情報 -->
<html><section class="area-section"></html>
<html><section class="area-section"></html>
393行目: 9行目:
<span class="card-icon">🍽️</span>
<span class="card-icon">🍽️</span>
<div class="card-content">
<div class="card-content">
<span class="card-title">[//{{SERVERNAME}}/wiki/飲食店検索?aria=川西中央 飲食店を探す]</span>
<span class="card-title">[//{{SERVERNAME}}/wiki/飲食店検索?aria={{{aria}}} 飲食店]</span>
</div>
</div>
</div>
</div>
400行目: 16行目:
<div class="card-content">
<div class="card-content">
<span class="card-title">美容・健康</span>
<span class="card-title">美容・健康</span>
<span class="card-status">準備中</span>
</div>
</div>
<div class="category-card-item">
<span class="card-icon">🏪</span>
<div class="card-content">
<span class="card-title">[//{{SERVERNAME}}/wiki/小売・店舗検索?aria={{{aria}}} 小売・店舗]</span>
</div>
</div>
<div class="category-card-item">
<span class="card-icon">🏥</span>
<div class="card-content">
<span class="card-title">[//{{SERVERNAME}}/wiki/医療・介護検索?aria={{{aria}}} 医療・介護]</span>
</div>
</div>
<div class="category-card-item disabled">
<span class="card-icon">🏫</span>
<div class="card-content">
<span class="card-title">習い事・スクール</span>
<span class="card-status">準備中</span>
<span class="card-status">準備中</span>
</div>
</div>
406行目: 41行目:
<span class="card-icon">👥</span>
<span class="card-icon">👥</span>
<div class="card-content">
<div class="card-content">
<span class="card-title">人・団体</span>
<span class="card-title">企業・団体</span>
<span class="card-status">準備中</span>
<span class="card-status">準備中</span>
</div>
</div>
413行目: 48行目:
<span class="card-icon">🏢</span>
<span class="card-icon">🏢</span>
<div class="card-content">
<div class="card-content">
<span class="card-title">施設</span>
<span class="card-title">施設・スポット</span>
<span class="card-status">準備中</span>
</div>
</div>
<div class="category-card-item disabled">
<span class="card-icon">🖋️</span>
<div class="card-content">
<span class="card-title">仕事</span>
<span class="card-status">準備中</span>
<span class="card-status">準備中</span>
</div>
</div>
423行目: 65行目:
<html><section class="area-section"></html>
<html><section class="area-section"></html>
== 概要 ==
== 概要 ==
川西中央エリアは、川西能勢口駅を中心とした川西市の中心部にあたる地域です。
{{{summary|}}}
商業施設や飲食店が集まり、通勤・通学や買い物など日常的に利用されるエリアです。
<html></section></html>
<html></section></html>


430行目: 71行目:
<html><section class="area-section"></html>
<html><section class="area-section"></html>
== 地理・特徴 ==
== 地理・特徴 ==
川西市の南部に位置し、鉄道や主要道路が集まる交通の要所です。
{{{features|}}}
市内でも人の往来が多く、昼夜問わずにぎわいがあります。
<html></section></html>
<html></section></html>


437行目: 77行目:
<html><section class="area-section"></html>
<html><section class="area-section"></html>
== 主な施設・スポット ==
== 主な施設・スポット ==
* アステ川西
<div class="link-items">
* 川西市役所
{{#arraymap:{{{spot|}}}|,|x|[[x]]|\n}}
* ◯◯公園
</div>
* ◯◯文化会館
<html></section></html>
<html></section></html>


446行目: 85行目:
<html><section class="area-section"></html>
<html><section class="area-section"></html>
== 交通 ==
== 交通 ==
* 川西能勢口駅(阪急宝塚線・能勢電鉄)
<div class="link-items">
* JR川西池田駅(JR福知山線)
{{#arraymap:{{{station|}}}|,|x|[[x]]|\n}}
* 市内路線バス
</div>
<html></section></html>
<html></section></html>


<!-- 関連項目 -->
<!-- 含まれる町名 -->
<html><section class="area-section"></html>
<html><section class="area-section"></html>
== 関連項目 ==
== 含まれる町名 ==
<div class="related-items">
<div class="link-items">
[[川西市]]
{{#arraymap:{{{place|}}}|,|x|[[:カテゴリ:x|x]]|\n}}
[[川西能勢口駅]]
[[アステ川西]]
</div>
</div>
<html></section></html>
<html></section></html>


{{#if: {{{recommend|}}}
| <!-- おすすめ -->
<html><section class="area-section"></html>
== おすすめ ==
{{#arraymap:{{{recommend|}}}|,|x|[[x]]|\n}}
<html></section></html>
| }}
</div>
</div>

2026年2月20日 (金) 13:18時点における最新版

このエリアの情報

🍽️

💅

美容・健康 準備中

🏫

習い事・スクール 準備中

👥

企業・団体 準備中

🏢

施設・スポット 準備中

🖋️

仕事 準備中

概要

地理・特徴

主な施設・スポット

交通

含まれる町名