/* カフェひだまり サイト共通スタイル */
:root {
  --brown: #6b4a2f;
  --brown-dark: #4a3320;
  --cream: #faf6ef;
  --accent: #d9822b;
  --ink: #3a3229;
  --muted: #8c7f70;
  --line: #e8dfd2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.8; }
img { max-width: 100%; }
a { color: var(--accent); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-dark); font-weight: 700; font-size: 16px; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a { text-decoration: none; color: var(--ink); font-size: 14px; padding: 8px 14px; border-radius: 20px; }
.site-header nav a:hover { background: var(--cream); }
.site-header nav a.on { background: var(--brown); color: #fff; }

/* ヒーロー */
.hero { background: var(--brown-dark) url(/img/hero.svg) center/cover no-repeat; color: #fff; text-align: center; padding: 90px 20px; }
.hero h1 { font-size: 34px; letter-spacing: .1em; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero p { margin-top: 12px; font-size: 15px; opacity: .95; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* セクション */
.section { padding: 56px 0; }
.section.alt { background: #fff; }
.section h2 { text-align: center; color: var(--brown-dark); font-size: 24px; letter-spacing: .12em; }
.section h2 + .sub { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 30px; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.section.alt .card { background: var(--cream); }
.card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .body { padding: 16px 18px 20px; }
.card h3 { font-size: 16px; color: var(--brown-dark); margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--muted); }
.price { color: var(--accent); font-weight: 700; margin-top: 8px; }

/* お知らせ一覧 */
.news-list { max-width: 760px; margin: 0 auto; }
.news-item { display: flex; gap: 16px; align-items: baseline; padding: 14px 6px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.news-item:hover { background: rgba(217,130,43,.06); }
.news-item time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.news-item .cat { background: var(--brown); color: #fff; font-size: 11px; border-radius: 10px; padding: 2px 10px; white-space: nowrap; }
.news-item .t { font-size: 14px; }
.more { text-align: center; margin-top: 26px; }
.btn { display: inline-block; background: var(--brown); color: #fff; text-decoration: none; padding: 10px 30px; border-radius: 24px; font-size: 14px; }
.btn:hover { background: var(--brown-dark); }

/* 記事詳細 */
.article { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px 40px; }
.article .meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; align-items: center; }
.article h1 { color: var(--brown-dark); font-size: 24px; margin: 10px 0 24px; line-height: 1.5; }
.article .content { font-size: 15px; }
.article .content p { margin-bottom: 1em; }
.article .content img { border-radius: 8px; margin: 10px 0; }
.back { display: block; text-align: center; margin-top: 26px; }

/* 表（営業時間・会社概要） */
.info-table { width: 100%; max-width: 640px; margin: 0 auto; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 12px 18px; font-size: 14px; text-align: left; }
.info-table th { background: var(--cream); color: var(--brown-dark); width: 200px; font-weight: 700; }

/* フッター */
.site-footer { background: var(--brown-dark); color: #efe6d8; margin-top: 40px; padding: 36px 0 20px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; font-size: 13px; }
.site-footer b { display: block; margin-bottom: 6px; }
.site-footer .copy { text-align: center; font-size: 11.5px; opacity: .7; margin-top: 26px; }

/* ページタイトル帯 */
.page-head { background: var(--brown); color: #fff; text-align: center; padding: 34px 20px; }
.page-head h1 { font-size: 24px; letter-spacing: .14em; }

@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; height: auto; padding: 10px 12px; gap: 6px; }
  .site-header nav a { padding: 6px 10px; font-size: 13px; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .article { padding: 24px 20px; }
  .info-table th { width: 110px; }
}
