「メインページ」の版間の差分
提供: 川西図鑑
その他の操作
編集の要約なし |
編集の要約なし タグ: 差し戻し済み |
||
| 166行目: | 166行目: | ||
</div> | </div> | ||
<style> | <style> | ||
/* ======================================== | |||
全体設定 | |||
======================================== */ | |||
.kawanishi-top { | .kawanishi-top { | ||
max-width: 1100px; | max-width: 1100px; | ||
margin: calc(-1 * (var(--space-md) + var(--space-xl))) auto 0; | margin: calc(-1 * (var(--space-md) + var(--space-xl))) auto 0; | ||
padding: 0px 16px | padding: 0px 16px 40px; | ||
font-family: inherit; | font-family: inherit; | ||
--hero-bg-image: url('/images/thumb/1/1b/2704135_l.jpg/2560px-2704135_l.jpg'); | --hero-bg-image: url('/images/thumb/1/1b/2704135_l.jpg/2560px-2704135_l.jpg'); | ||
} | } | ||
/* | /* ======================================== | ||
. | Hero セクション | ||
-- | ======================================== */ | ||
.hero { | |||
position: relative; | |||
width: 100vw; | |||
margin-left: calc(50% - 50vw); | |||
margin-right: calc(50% - 50vw); | |||
min-height: 65vh; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
color: #fff; | |||
padding: 80px 20px 70px; | |||
} | } | ||
.hero-bg { | |||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background-image: var(--hero-bg-image); | |||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
| 199行目: | 203行目: | ||
} | } | ||
.hero { | .hero-bg::after { | ||
content: ''; | |||
position: absolute; | |||
inset: 0; | |||
background: linear-gradient( | |||
to bottom, | |||
rgba(0, 0, 0, 0.3), | |||
rgba(0, 0, 0, 0.5) | |||
); | |||
} | |||
.hero-inner { | |||
position: relative; | |||
z-index: 1; | |||
max-width: 900px; | |||
text-align: center; | text-align: center; | ||
} | } | ||
| 223行目: | 231行目: | ||
sans-serif; | sans-serif; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: clamp(36px, 8vw, 64px); | |||
letter-spacing: 0.12em; | letter-spacing: 0.12em; | ||
margin-bottom: 32px; | |||
text-shadow: 0 4px 12px rgba(0,0,0,0.5); | |||
} | } | ||
.hero-text-bg { | |||
. | display: inline-block; | ||
background: rgba(0, 0, 0, 0.45); | |||
backdrop-filter: blur(8px); | |||
color: #fff; | |||
padding: | padding: 12px 24px; | ||
border-radius: 12px; | |||
margin-bottom: 16px; | |||
line-height: 1.6; | |||
} | } | ||
.hero .catch { | .hero .catch { | ||
font-size: clamp(16px, | font-size: clamp(16px, 3.5vw, 22px); | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.hero .lead { | .hero .lead { | ||
font-size: clamp( | font-size: clamp(13px, 2.8vw, 16px); | ||
color: #f9fafb; | color: #f9fafb; | ||
line-height: 1.8; | line-height: 1.8; | ||
margin-bottom: 40px; | |||
margin-bottom: | |||
} | } | ||
.hero-actions { | .hero-actions { | ||
display: flex; | display: flex; | ||
gap: | gap: 16px; | ||
justify-content: center; | justify-content: center; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
/* ======================================== | |||
ボタン | |||
======================================== */ | |||
.kz-btn { | .kz-btn { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
gap: | justify-content: center; | ||
padding: | gap: 10px; | ||
padding: 16px 28px; | |||
border-radius: 12px; | border-radius: 12px; | ||
font-weight: | font-weight: 600; | ||
font-size: 15px; | |||
text-decoration: none; | text-decoration: none; | ||
line-height: 1; | line-height: 1; | ||
transition: all 0.2s ease; | |||
cursor: pointer; | |||
} | } | ||
.kz-btn.primary { | .kz-btn.primary { | ||
background: linear-gradient( | background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | ||
color: #fff; | color: #fff; | ||
border: none; | |||
border: | box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); | ||
box-shadow: | |||
} | } | ||
.kz-btn.primary:hover { | .kz-btn.primary:hover { | ||
transform: translateY(-2px); | |||
box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); | |||
} | } | ||
.kz-btn.secondary { | .kz-btn.secondary { | ||
background: | background: rgba(255, 255, 255, 0.95); | ||
color: #374151; | |||
border: 1px solid rgba(255, 255, 255, 0.2); | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); | |||
color: # | |||
border: 1px solid | |||
} | } | ||
.kz-btn.secondary:hover { | .kz-btn.secondary:hover { | ||
background: | background: #fff; | ||
transform: translateY(-2px); | |||
); | |||
} | } | ||
.kz-btn.ghost { | .kz-btn.ghost { | ||
background: rgba(255,255,255,0. | background: rgba(255, 255, 255, 0.15); | ||
color: # | backdrop-filter: blur(10px); | ||
color: #fff; | |||
border: 1px solid rgba(255, 255, 255, 0.3); | |||
} | |||
.kz-btn.ghost:hover { | |||
background: rgba(255, 255, 255, 0.25); | |||
} | |||
.kz-with-icon .kz-icon { | |||
font-size: 1.3em; | |||
} | } | ||
/* | /* ======================================== | ||
セクション | |||
======================================== */ | |||
.kz-section { | .kz-section { | ||
padding: | padding: 50px 0; | ||
} | } | ||
div.kz-section { | div.kz-section { | ||
background: #f9fafb; | background: #f9fafb; | ||
padding- | padding: 50px 20px; | ||
border-radius: 16px; | |||
margin-top: 40px; | |||
} | } | ||
.kz-section h2 | .kz-section h2 { | ||
{ | font-size: 28px; | ||
font-size: | font-weight: 700; | ||
margin-bottom: | margin-bottom: 12px; | ||
color: #111827; | |||
} | } | ||
.section-lead { | .section-lead, | ||
.kz-section-lead { | |||
color: #6b7280; | color: #6b7280; | ||
margin-bottom: | font-size: 15px; | ||
margin-bottom: 32px; | |||
line-height: 1.7; | |||
} | } | ||
/* | /* ======================================== | ||
カードグリッド | |||
======================================== */ | |||
.card-grid { | .card-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax( | grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | ||
gap: | gap: 20px; | ||
} | } | ||
.card { | .card { | ||
background: #fff; | |||
border-radius: | border-radius: 16px; | ||
border: 1px solid #e5e7eb; | border: 1px solid #e5e7eb; | ||
padding: 24px; | |||
transition: all 0.3s ease; | |||
display: flex; | |||
flex-direction: column; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.04); | |||
} | } | ||
.card:hover { | .card:hover:not(.disabled) { | ||
transform: translateY(- | transform: translateY(-4px); | ||
box-shadow: 0 | box-shadow: 0 8px 24px rgba(0,0,0,0.12); | ||
border-color: #f59e0b; | |||
} | } | ||
.card .icon { | .card .icon { | ||
font-size: | font-size: 42px; | ||
margin-bottom: 16px; | |||
} | } | ||
.card .title { | .card .title { | ||
font-size: 18px; | |||
font-weight: 600; | font-weight: 600; | ||
margin- | color: #111827; | ||
margin-bottom: 8px; | |||
} | } | ||
.card .desc { | .card .desc { | ||
font-size: | font-size: 14px; | ||
color: #6b7280; | color: #6b7280; | ||
} | } | ||
.card-main { | .card-main { | ||
display: | display: flex; | ||
padding: 16px; | flex-direction: column; | ||
padding: 20px; | |||
border-bottom: 1px solid #e5e7eb; | |||
margin-bottom: 16px; | |||
text-decoration: none; | text-decoration: none; | ||
color: inherit; | color: inherit; | ||
border- | border-radius: 12px; | ||
transition: background 0.2s; | |||
} | } | ||
.card-main:hover { | .card-main:hover { | ||
background | background: #f9fafb; | ||
} | } | ||
| 456行目: | 415行目: | ||
display: grid; | display: grid; | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
gap: | gap: 10px; | ||
} | } | ||
.card- | .card-box { | ||
padding: 12px | display: flex; | ||
align-items: center; | |||
justify-content: center; | |||
padding: 14px 12px; | |||
border: 1px solid #e5e7eb; | |||
border-radius: 10px; | |||
text-align: center; | text-align: center; | ||
font-size: | font-size: 13px; | ||
font-weight: 500; | |||
text-decoration: none; | text-decoration: none; | ||
color: | color: #374151; | ||
background: #fff; | |||
transition: all 0.2s; | |||
} | |||
.card-box:hover { | |||
background: #f9fafb; | |||
border-color: #f59e0b; | |||
color: #f59e0b; | |||
} | } | ||
.card | .card.disabled { | ||
opacity: 0.5; | |||
pointer-events: none; | |||
} | } | ||
| 478行目: | 452行目: | ||
} | } | ||
. | /* ======================================== | ||
記事セクション(準備中) | |||
======================================== */ | |||
.kz-section.alt { | |||
position: relative; | |||
background: #f9fafb; | |||
padding: 50px 20px; | |||
border-radius: 16px; | |||
overflow: hidden; | |||
} | } | ||
.article-list { | .article-list { | ||
display: grid; | display: grid; | ||
gap: | gap: 12px; | ||
margin-bottom: | margin-bottom: 24px; | ||
} | } | ||
.article-item { | .article-item { | ||
background: #fff; | background: #fff; | ||
border-radius: | padding: 16px 20px; | ||
border-radius: 12px; | |||
border: 1px solid #e5e7eb; | border: 1px solid #e5e7eb; | ||
font-size: 15px; | |||
transition: all 0.2s; | |||
} | } | ||
. | .article-item:hover { | ||
border-color: #f59e0b; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.08); | |||
} | } | ||
.center-actions { | .center-actions { | ||
display: flex; | |||
gap: 12px; | |||
justify-content: center; | |||
flex-wrap: wrap; | |||
margin-top: 32px; | margin-top: 32px; | ||
} | |||
/* ======================================== | |||
CTA | |||
======================================== */ | |||
.cta { | |||
text-align: center; | text-align: center; | ||
margin: 24px 0; | |||
} | } | ||
.cta a { | .cta a { | ||
display: inline-block; | display: inline-block; | ||
padding: | padding: 14px 28px; | ||
border-radius: | border-radius: 10px; | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: none; | text-decoration: none; | ||
background: # | background: #f59e0b; | ||
color: #fff; | color: #fff; | ||
transition: all 0.2s; | |||
box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3); | |||
} | } | ||
.cta a:hover { | .cta a:hover { | ||
background: # | background: #d97706; | ||
transform: translateY(-2px); | |||
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); | |||
} | } | ||
.cta a:visited { | .cta a:visited { | ||
color: #fff; | color: #fff; | ||
} | } | ||
/* | |||
/* ======================================== | |||
フッターメッセージ | |||
======================================== */ | |||
.footer-note { | .footer-note { | ||
text-align: center; | text-align: center; | ||
padding: | padding: 60px 20px 20px; | ||
color: #6b7280; | color: #6b7280; | ||
font-size: | font-size: 14px; | ||
line-height: 1.8; | |||
} | |||
/* ======================================== | |||
ダークモード | |||
======================================== */ | |||
.skin-theme-clientpref-night .kawanishi-top { | |||
--hero-bg-image: url('/images/8/8a/3704109_m.jpg'); | |||
} | |||
.skin-theme-clientpref-night div.kz-section, | |||
.skin-theme-clientpref-night .kz-section.alt { | |||
background: #1e1e1e; | |||
} | |||
.skin-theme-clientpref-night .kz-section h2 { | |||
color: #f9fafb; | |||
} | } | ||
.skin-theme-clientpref-night .section-lead, | .skin-theme-clientpref-night .section-lead, | ||
.skin-theme-clientpref-night .kz-section-lead, | |||
.skin-theme-clientpref-night .footer-note { | .skin-theme-clientpref-night .footer-note { | ||
color: #9ca3af; | color: #9ca3af; | ||
} | } | ||
.skin-theme-clientpref-night .card, | |||
.skin-theme-clientpref-night .article-item, | |||
.skin-theme-clientpref-night .card-box { | .skin-theme-clientpref-night .card-box { | ||
background: #2a2a2a; | |||
} | border-color: #3a3a3a; | ||
color: #e5e7eb; | |||
} | |||
.skin-theme-clientpref-night .card .title { | |||
color: #f9fafb; | |||
} | |||
.skin-theme-clientpref-night .card .desc { | |||
color: #9ca3af; | |||
} | |||
.skin-theme-clientpref-night . | .skin-theme-clientpref-night .card-main { | ||
border-color: #3a3a3a; | |||
} | } | ||
.skin-theme-clientpref-night .card, | .skin-theme-clientpref-night .card-main:hover, | ||
.skin-theme-clientpref-night . | .skin-theme-clientpref-night .card-box:hover { | ||
background | background: #374151; | ||
} | } | ||
.skin-theme-clientpref-night .kz-btn.secondary { | .skin-theme-clientpref-night .kz-btn.secondary { | ||
background: #2a2a2a; | |||
color: #f9fafb; | |||
border-color: #3a3a3a; | |||
} | |||
.skin-theme-clientpref-night .kz-btn.secondary:hover { | |||
background: #374151; | background: #374151; | ||
} | } | ||
/* | /* ======================================== | ||
ダークモード(自動) | |||
======================================== */ | |||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
.skin-theme-clientpref-os .kawanishi-top { | .skin-theme-clientpref-os .kawanishi-top { | ||
--hero-bg-image: url('/images/8/8a/3704109_m.jpg'); | --hero-bg-image: url('/images/8/8a/3704109_m.jpg'); | ||
} | } | ||
.skin-theme-clientpref-os . | .skin-theme-clientpref-os div.kz-section, | ||
.skin-theme-clientpref-os .kz-section.alt { | |||
background: #1e1e1e; | |||
} | |||
.skin-theme-clientpref-os .kz-section h2 { | |||
color: #f9fafb; | |||
} | } | ||
.skin-theme-clientpref-os .section-lead, | .skin-theme-clientpref-os .section-lead, | ||
.skin-theme-clientpref-os .kz-section-lead, | |||
.skin-theme-clientpref-os .footer-note { | .skin-theme-clientpref-os .footer-note { | ||
color: #9ca3af; | color: #9ca3af; | ||
} | } | ||
.skin-theme-clientpref-os . | .skin-theme-clientpref-os .card, | ||
.skin-theme-clientpref-os .article-item, | |||
background: # | .skin-theme-clientpref-os .card-box { | ||
background: #2a2a2a; | |||
border-color: #3a3a3a; | |||
color: #e5e7eb; | |||
} | |||
.skin-theme-clientpref-os .card .title { | |||
color: #f9fafb; | |||
} | |||
.skin-theme-clientpref-os .card .desc { | |||
color: #9ca3af; | |||
} | |||
.skin-theme-clientpref-os .card-main { | |||
border-color: #3a3a3a; | |||
} | } | ||
.skin-theme-clientpref-os .card, | .skin-theme-clientpref-os .card-main:hover, | ||
.skin-theme-clientpref-os . | .skin-theme-clientpref-os .card-box:hover { | ||
background | background: #374151; | ||
} | } | ||
.skin-theme-clientpref-os .kz-btn.secondary { | .skin-theme-clientpref-os .kz-btn.secondary { | ||
background: #2a2a2a; | |||
color: #f9fafb; | |||
border-color: #3a3a3a; | |||
} | |||
.skin-theme-clientpref-os .kz-btn.secondary:hover { | |||
background: #374151; | background: #374151; | ||
} | |||
} | |||
/* ======================================== | |||
レスポンシブ | |||
======================================== */ | |||
@media (max-width: 768px) { | |||
.hero { | |||
min-height: 55vh; | |||
padding: 60px 20px 50px; | |||
} | |||
.hero h1 { | |||
margin-bottom: 24px; | |||
} | |||
.hero-text-bg { | |||
padding: 10px 18px; | |||
} | |||
.hero-actions { | |||
gap: 12px; | |||
} | |||
.kz-btn { | |||
padding: 14px 24px; | |||
font-size: 14px; | |||
} | |||
.card-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.kz-section { | |||
padding: 40px 0; | |||
} | |||
div.kz-section { | |||
padding: 40px 16px; | |||
margin-top: 30px; | |||
} | |||
.kz-section h2 { | |||
font-size: 24px; | |||
} | } | ||
} | } | ||
2026年1月22日 (木) 16:27時点における版
図鑑で探す
準備中
記事
川西のさまざまな図鑑ページに関連する、
ユーザーが書いた記事を紹介します。
川西能勢口で見つけた小さな名店
昔の川西と今を比べてみる
川西で活動する人たち
今日の川西
ランダムに1件表示しています。
エラー: テーブル飲食店情報が見つかりません。
お店のオーナー様へ
情報の修正や、写真・メニューの追加、公式図鑑ページとしての掲載が可能です。
市民の皆さんへ 情報提供のお願い
営業時間や定休日の変更、新店舗情報など、市民の皆さんからの情報提供を受け付けています。