/* 珈琲と焼き菓子 ひだまり（仮）— ONEPAGE プレミアムプランの本番確認用 */
:root {
  --bg: #faf6ef;
  --paper: #fffdf8;
  --ink: #3b332b;
  --muted: #7a6e62;
  --line: #e6dccd;
  --accent: #6f8a6a;
  --accent-dark: #556c51;
  --wood: #b88a5a;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* 上の帯 */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 239, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; padding: 10px 0; white-space: nowrap; }
.logo small { font-size: .72rem; color: var(--muted); margin-left: .4em; }
.gnav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .9rem; }
.gnav a { text-decoration: none; padding: 10px 2px; border-bottom: 2px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* トップの大きな写真 */
.hero { position: relative; }
.hero-photo { width: 100%; height: min(78vh, 640px); object-fit: cover; }
.hero-text { position: absolute; inset: auto 0 0 0; padding: 120px 0 56px; background: linear-gradient(to top, rgba(40, 32, 24, .78) 0%, rgba(40, 32, 24, .55) 55%, rgba(40, 32, 24, 0) 100%); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero-text h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.45; margin: 0 0 12px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero-text p { margin: 0 0 22px; max-width: 34em; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 999px; font-size: .95rem; }
.btn:hover { background: var(--accent-dark); }

/* 下層ページの頭 */
.page-head { padding: 64px 0 36px; text-align: center; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 8px; }
.page-head p { margin: 0 auto; color: var(--muted); max-width: 36em; }

/* 区切り */
.section { padding: 72px 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.section h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 28px; text-align: center; }
.section h2::after { content: ""; display: block; width: 36px; height: 2px; background: var(--wood); margin: 14px auto 0; }
.lead { text-align: center; color: var(--muted); max-width: 38em; margin: -8px auto 32px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.split h2 { text-align: left; }
.split h2::after { margin-left: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin: 18px 20px 6px; }
.card p { margin: 0 20px 20px; font-size: .92rem; color: var(--muted); }

.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.news-list li { padding: 16px 4px; border-bottom: 1px dashed var(--line); }
.more { text-align: center; margin-top: 28px; }
.more a { color: var(--accent-dark); }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info table { width: 100%; border-collapse: collapse; }
.info th, .info td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 7em; font-weight: 600; color: var(--muted); }
.map-box { min-height: 260px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); background: var(--paper); text-align: center; padding: 20px; }

/* メニュー */
.menu-block { max-width: 760px; margin: 0 auto 56px; }
.menu-block:last-child { margin-bottom: 0; }
.menu-block h2 { margin-bottom: 18px; }
.menu-block > p { text-align: center; color: var(--muted); margin: 0 0 20px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 14px 4px; border-bottom: 1px dashed var(--line); }
.menu-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.menu-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.note { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 40px; }

/* ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.gallery figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }

/* スタッフ */
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.staff article { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.staff img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.staff .body { padding: 20px 22px 24px; }
.staff .role { margin: 0; font-size: .82rem; color: var(--accent-dark); letter-spacing: .08em; }
.staff h2 { font-size: 1.25rem; text-align: left; margin: 2px 0 10px; }
.staff h2::after { display: none; }
.staff .body p:last-child { margin: 0; font-size: .93rem; }

/* お知らせ・よくある質問 */
.news-article { max-width: 760px; margin: 0 auto; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-article h3 { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; margin: 0 0 8px; }
.news-article p { margin: 0; color: var(--ink); }
.faq { max-width: 760px; margin: 0 auto; }
.faq dt { font-weight: 600; margin-top: 24px; padding-left: 2em; text-indent: -2em; }
.faq dt::before { content: "Q. "; color: var(--accent-dark); }
.faq dd { margin: 8px 0 0; padding: 0 0 20px 2em; border-bottom: 1px dashed var(--line); color: var(--muted); }

/* 下の帯 */
.site-footer { background: #3b332b; color: #efe7da; padding: 44px 0 28px; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo { color: #fff; }
.site-footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; opacity: .85; }
.copy { display: block; margin-top: 28px; opacity: .6; font-size: .78rem; }

@media (max-width: 860px) {
  .split, .info { grid-template-columns: 1fr; gap: 28px; }
  .cards, .staff { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .menu-photos { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .gnav { gap: 0 14px; font-size: .84rem; }
  .gnav a { padding: 4px 0 8px; }
  .hero-photo { height: 72vh; }
  .menu-photos { grid-template-columns: 1fr; }
}
