/* Shared stylesheet for 米粉のしふぉん まつぼっくり */

/* =====================
   基本設定 / variables
===================== */
:root {
  --main: #efe6db; /* 薄い茶色（淡いアクセント） */
  --sub: #fffaf6;
  --accent: #b0896a; /* メインのアクセント色 */
  --text: #3a2e2a;
  --frame-width: 393px;
  --header-logo-height: 2.0em; /* 編集してヘッダーロゴの高さを調整できます */

  /* font sizes: edit these values to tune text size */
  --font-header-logo: 16px;
  --font-nav: 15px;
  --font-section-title: 20px;
  --font-body: 14px;
  --font-hero-title: 22px;
  --font-small: 12px;
  --font-button: 14px;
  --font-message-kicker: 14px;
  --font-message-title: 26px;
  --font-message-body: 15px;
  --font-calendar-card-title: 19px;
  --font-products-kicker: 14px;
  --font-products-title: 28px;
  --font-products-lead: 14px;
  --font-product-label: 13px;
  --font-product-title: 30px;
  --font-product-body: 13px;
  --font-product-more: 13px;
  --font-page-hero-title: 30px;
  --font-page-hero-body: 14px;
  --font-detail-title: 25px;
  --font-detail-body: 14px;
  --font-detail-label: 13px;
  --font-detail-note: 13px;
  --font-calendar-title: 20px;
  --font-calendar-body: 13px;
  --font-footer: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; overflow-y: scroll; scrollbar-gutter: stable; }
html, body { min-height: 100%; }
body { font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif; background: #eaeaea; color: var(--text); line-height: 1.7; }

/* device frame */
.device-frame { position: relative; width: var(--frame-width); min-height: 100vh; margin: 0 auto; background: #fff; box-shadow: 0 0 24px rgba(0,0,0,0.18); }
.device-frame::before { content: ""; position: absolute; left:0; top:0; right:0; bottom:0; background-image: radial-gradient(rgba(0,0,0,0.01) 1px, transparent 1px); background-size: 14px 14px; pointer-events:none; opacity:0.55; }

/* header */
header { position: fixed; top: 0; width: var(--frame-width); background: #fff; border-bottom: 1px solid #eee; z-index: 1000; }
.header-inner { display: flex; justify-content: center; align-items: center; padding: 14px 16px; position: relative; }
.logo { font-weight: bold; font-size: var(--font-header-logo); }
.hamburger { font-size: 22px; cursor: pointer; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 1100; }
.header-meta { padding:6px 16px 10px; background:#fff; border-bottom:1px solid #f5f5f5; display:flex; justify-content:flex-end; }
.header-meta-right { text-align:right; max-width:220px; font-size:var(--font-small); color:var(--text); }
.header-meta-right .address { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.header-meta-right .info { font-size:var(--font-small); color:var(--text); line-height:1.2; }

/* nav */
nav { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: var(--sub); max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-8px); transition: max-height 360ms ease, opacity 260ms ease, transform 260ms ease; box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
nav.open { max-height: 420px; opacity: 1; transform: translateY(0); }
nav ul { list-style: none; margin: 8px 0 12px 0; }
nav li { border-bottom: 1px solid #eee; }
nav a { display: block; padding: 14px 16px; text-decoration: none; color: var(--text); font-size: var(--font-nav); }

/* main */
main { padding-top: 68px; }
section { padding: 40px 16px; }
.section-title { font-size: var(--font-section-title); font-weight: 600; margin-bottom: 24px; border-left: 4px solid var(--accent); padding-left: 12px; letter-spacing: 0.3px; }

/* hero */
.hero { background: var(--sub); text-align: center; padding: 24px 16px; }
.hero h1 { font-size: var(--font-hero-title); margin-bottom: 10px; }
.hero p { font-size: var(--font-body); }

/* message section */
.message-section { background: linear-gradient(135deg, #3a2e2a 0%, #4a3f38 100%); color: #fff; padding: 56px 16px; text-align: center; position: relative; overflow: hidden; }
.message-section::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.message-inner { max-width: 420px; margin: 0 auto; position: relative; z-index: 1; }
.message-kicker { color:#d7c1aa; font-family:'Playfair Display', serif; font-size:var(--font-message-kicker); font-weight:700; margin-bottom:10px; }
.message-title { font-family: 'Playfair Display', serif; font-size: var(--font-message-title); font-weight: 600; line-height: 1.3; margin-bottom: 24px; letter-spacing: 0.8px; }
.message-text { font-size: var(--font-message-body); line-height: 1.9; color: #f5efe9; margin: 0; font-weight: 300; }
.message-story { display:grid; gap:26px; margin-top:22px; text-align:left; }
.message-story article { display:grid; gap:14px; }
.message-story img { display:block; width:100%; height:250px; object-fit:cover; border-radius:8px; box-shadow:0 16px 30px rgba(0,0,0,0.24); }
.message-story p { color:#f8f2eb; font-size:var(--font-message-body); line-height:1.95; }
.view-more-btn { display: inline-block; margin-top: 16px; padding: 13px 36px; border: 2px solid #fff; color: #fff; text-decoration: none; border-radius: 3px; font-size: var(--font-button); font-weight: 500; transition: all 300ms ease; cursor: pointer; }
.view-more-btn:hover { background: rgba(255,255,255,0.1); }
.view-more-btn:active { opacity: 0.8; }

.calendar-pop { padding: 26px 16px 34px; background:#fffaf6; }
.calendar-pop-card { position:relative; display:block; padding:22px 20px; color:#fff; text-decoration:none; background:linear-gradient(135deg,#6f806f 0%,#3a4b42 100%); border-radius:8px; box-shadow:0 14px 26px rgba(58,75,66,0.18); overflow:hidden; }
.calendar-pop-card::after { content:"→"; position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:26px; }
.calendar-pop-month { display:block; color:#dce9d5; font-family:'Playfair Display', serif; font-size:var(--font-products-kicker); font-weight:700; margin-bottom:4px; }
.calendar-pop-card strong { display:block; max-width:260px; font-size:var(--font-calendar-card-title); line-height:1.45; }
.calendar-pop-card small { display:block; margin-top:6px; color:#edf4ea; font-size:var(--font-small); }

/* card */
.card { background: #fff; border: 1px solid #f0e7dc; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* menu */
.menu-list { list-style: none; }
.menu-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed #ddd; padding: 8px 0; }

/* calendar */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: var(--font-small); }
.calendar div { padding: 8px 0 12px 0; position: relative; }
.closed { background: #ffe0e0; border-radius: 4px; }
.today { outline: 2px solid var(--accent); border-radius:6px; }
.today:not(.closed) { background:#fffaf0; }
.closed.today { background:#ffe0e0; }
.sticker { position: absolute; bottom:4px; right:4px; font-size:10px; background:var(--main); color:var(--text); padding:2px 6px; border-radius:8px; box-shadow:0 1px 0 rgba(0,0,0,0.05); z-index:1; }
.date-num { display:block; position:relative; z-index:2; font-weight:700; }
.closed-label { display:block; margin-top:3px; color:#9a3f3f; font-size:11px; font-weight:700; line-height:1; }

/* hero layout, slides */
.hero-inner { display:flex; flex-direction:column; gap:0; align-items:center; }
.hero-inner .about-image { position: relative; width: 100%; height: 240px; margin-bottom: 0; overflow: hidden; background: #211b18; }
.hero-inner .about-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:0; display:block; opacity:0; transform:scale(1.045); transition:opacity 1050ms ease, transform 4300ms ease; }
.hero-inner .about-image img.is-active { opacity:1; transform:scale(1); }
.hero-inner .about-image img.fading{opacity:0}
.hero-inner .about-image .img-placeholder { width:100%; height:240px; display:none; align-items:center; justify-content:center; background:#f6efe6; color:#8a6b56; font-weight:700; border-radius:0; }
.hero-inner .about-image.noimg img { display:none; }
.hero-image img { width:100%; height:auto; object-fit:cover; border-radius:12px; }
.slides{position:relative;width:100%;height:160px;border-radius:12px;overflow:hidden;background:var(--sub)}
.slides img.slide{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;transition:opacity 800ms ease;z-index:1}
.slides img.slide.active{opacity:1;z-index:2}
.slides img.slide.hidden{display:none!important;opacity:0}
.slides-placeholder{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#f6efe6;color:#8a6b56;font-weight:700;border-radius:12px;z-index:2}
.slide-debug{position:absolute;left:8px;bottom:8px;padding:6px 8px;background:rgba(0,0,0,0.6);color:#fff;font-size:11px;border-radius:8px;z-index:3;max-width:calc(100% - 16px);white-space:pre-wrap;opacity:0.95}
.hero-text { text-align:center; width:100%; }
.hero-text p { max-width: 420px; margin: 8px auto 0; }
.about-block { max-width:420px; margin:0 auto; text-align:left; }
.about-image { width:100%; margin-bottom:8px; }
.about-image img { width:100%; height:160px; object-fit:cover; border-radius:8px; display:block; transition:opacity 600ms ease; opacity:1; }
.about-image img.fading{opacity:0}
.about-image .img-placeholder { width:100%; height:160px; display:flex; align-items:center; justify-content:center; background:#f6efe6; color:#8a6b56; font-weight:700; border-radius:8px; }
.about-image.noimg img { display:none; }
.about-text { font-size:var(--font-body); color:#444; margin:0; }

/* header logo */
.header-logo { height:var(--header-logo-height); width:auto; border-radius:4px; object-fit:cover; margin-right:8px; vertical-align:middle; display:inline-block; }
.header-logo-wrap{display:inline-block}
.header-logo-wrap .placeholder{display:none;color:var(--accent);font-size:var(--font-small);padding-left:6px}
.header-logo-wrap.noimg .placeholder{display:inline-block}
.header-home-link { display:inline-flex; align-items:center; justify-content:center; color:var(--text); text-decoration:none; min-width:0; margin:0 auto; }
.header-home-link:visited { color:var(--text); }
.header-home-link:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:8px; }

/* menu-grid */
.menu-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; margin-bottom: 24px; }
.menu-item { display:flex; flex-direction:column; align-items:center; gap:10px; padding:0; text-align:center; transition: transform 200ms ease; }
.menu-item:active { transform: scale(0.98); }
.menu-item-image { position: relative; border-radius: 8px; overflow: hidden; }
.menu-item-image img { width:100%; height:160px; object-fit:cover; border-radius:8px; display: block; transition: transform 300ms ease; }
.menu-item-image:active img { transform: scale(1.05); }
.menu-item-image .img-placeholder { width:100%; height:160px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#f6efe6; color:#8a6b56; font-weight:700; }
.menu-item-body h3 { font-size:16px; font-weight: 600; margin:4px 0 0 0; letter-spacing: 0.2px; }
.menu-item-body p { font-size:var(--font-product-body); color:#666; margin:0; max-width:260px; }
.price { font-weight:700; color:var(--accent); font-size: 15px; margin-top: 2px; }

/* footer */
footer { background: #333; color: #fff; text-align: center; padding: 26px 16px; font-size: var(--font-footer); }
footer .footer-wrap { display:flex; align-items:center; justify-content:center; gap:8px; font-weight:700; }
.footer-icon { height:1.4em; width:auto; object-fit:contain; border-radius:6px; display:inline-block; vertical-align:middle; transition:transform 180ms ease; }
.footer-instalink:hover .footer-icon{ transform:translateY(-2px) scale(1.05); }

/* small buttons */
.btn { background:var(--accent); color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; display:inline-block; border:none; cursor:pointer; font-weight:700; font-size: var(--font-button); }
.page-back { padding: 0 16px 48px; text-align: left; }
.page-back .btn { min-width: 72px; text-align: center; }

.lineup-instagram { display:flex; gap:12px; align-items:flex-start; margin-top:16px; padding-top:16px; border-top:1px solid #f0e7dc; }
.lineup-instagram img { width:30px; height:30px; object-fit:contain; border-radius:7px; flex:0 0 auto; }
.lineup-instagram-copy { flex:1; min-width:0; }
.lineup-instagram-copy strong { display:block; color:#211b18; font-size:15px; line-height:1.55; margin-bottom:4px; }
.lineup-instagram-copy p { color:#625751; font-size:13px; line-height:1.7; margin-bottom:10px; }
.lineup-instagram-copy a { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:7px 12px; color:#fff; background:var(--accent); border-radius:8px; text-decoration:none; font-size:13px; font-weight:700; }
.reservation-page .reservation-section { padding: 34px 16px 12px; }
.reservation-page .reservation-contact-section { padding-top: 0; padding-bottom: 16px; }
.reservation-page .card { margin-bottom: 0; }
.reservation-page .card h2 { font-size:22px; line-height:1.35; margin:22px 0 14px; color:#211b18; }
.reservation-page #reservationIntro { color:#342b27; font-size:15px; line-height:1.9; }
.reservation-page .lineup-instagram { margin-top:18px; padding:16px 0 0; border:0; border-top:1px solid #f0e7dc; border-radius:0; background:transparent; }
.reservation-page .lineup-instagram-copy strong { font-size:15px; }
.reservation-page .lineup-instagram-copy a { display:inline; min-height:0; padding:0; color:#7d6048; background:transparent; border-radius:0; text-decoration:underline; text-underline-offset:3px; }
.contact-list { display:grid; gap:0; margin:20px 0 0; border-top:1px solid #eadfce; border-bottom:1px solid #eadfce; }
.contact-list div { display:grid; grid-template-columns:118px minmax(0, 1fr); gap:16px; align-items:center; padding:15px 0; border-bottom:1px solid #eadfce; }
.contact-list div:last-child { border-bottom:0; }
.contact-list dt { display:flex; align-items:center; gap:9px; color:#4f6253; font-size:13px; font-weight:700; letter-spacing:0.02em; }
.contact-list dd { margin:0; font-size:16px; line-height:1.6; }
.contact-list a { color:#7d6048; font-weight:700; text-underline-offset:3px; }
.contact-icon { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; color:#6f806f; background:#f3f7f0; border:1px solid #d8e2d3; border-radius:999px; flex:0 0 auto; }
.contact-icon svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.contact-icon.instagram { color:#9f7658; background:#fbf4ee; border-color:#ead8c8; }
.reservation-note { margin-top:14px; color:#625751; font-size:13px; line-height:1.8; }
.parking-page .parking-section { padding-bottom: 16px; }
.parking-photo { margin: 14px 0 12px; border-radius: 8px; overflow: hidden; background: #f6efe6; }
.parking-photo img { display: block; width: 100%; height: 220px; object-fit: cover; }
.parking-notes { margin: 0 0 14px 1.2em; color: #444; font-size: var(--font-body); }
.parking-notes li + li { margin-top: 4px; }
.parking-map { margin-top: 12px; }
.parking-note { margin-top: 10px; color: #666; font-size: var(--font-small); }

/* news.html specific (from previous inline styles) */
.menu-page-body, .news-page-body { font-family: 'Noto Sans JP', sans-serif; padding:20px; background:#fffaf6; color:#3a2e2a; }
.menu-page-table { width:100%; border-collapse:collapse; }
.menu-page-table th, .menu-page-table td { padding:8px; border-bottom:1px solid #eee; text-align:left; }
.page-small-img { width:64px; height:64px; object-fit:cover; border-radius:8px; }
.news-item { border-bottom:1px solid #eee; padding:12px 0; }
.news-item:last-child { border-bottom:0; }
.news-page-main { background:#fff; }
.news-page-hero { padding:40px 16px 0; background:#fff; }
.news-page-hero h1 { color:#211b18; font-size:var(--font-page-hero-title); line-height:1.25; margin-top:6px; }
.news-page-hero .section-kicker,
.news-page-hero h1 { display:none; }
.news-page-list { padding:0 16px 48px; }

/* refreshed home visual treatment */
.hero { padding: 0; background: #fffaf6; }
.hero-inner .about-image,
.hero-inner .about-image .img-placeholder { height: 300px; }

.products-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff9f2 54%, #f2f6f0 100%);
  padding: 48px 16px 56px;
  overflow: hidden;
}
.products-heading { margin-bottom: 22px; }
.products-heading .section-title { margin-bottom: 14px; }
.section-kicker {
  color: #6f806f;
  font-family: 'Playfair Display', serif;
  font-size: var(--font-products-kicker);
  font-weight: 700;
  margin-bottom: 6px;
}
.products-title {
  color: #211b18;
  font-size: var(--font-products-title);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 12px;
}
.products-lead {
  color: #625751;
  font-size: var(--font-products-lead);
  line-height: 1.9;
}
.product-showcase {
  display: grid;
  gap: 14px;
  margin: 0 -16px;
}
.product-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #211b18;
  isolation: isolate;
}
.product-card-large { min-height: 390px; }
.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
  z-index: -2;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,18,14,0.08) 0%, rgba(24,18,14,0.18) 38%, rgba(24,18,14,0.76) 100%);
  z-index: -1;
}
.product-card:active img {
  transform: scale(1.045);
  filter: saturate(1.08);
}
.product-more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: #211b18;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.74);
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: var(--font-product-more);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.product-more::after {
  content: "→";
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--font-product-more);
}
.product-more:active {
  transform: translateY(1px);
}
.product-copy {
  position: absolute;
  left: 18px;
  right: 132px;
  bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.34);
}
.product-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5f0df;
  font-family: 'Playfair Display', serif;
  font-size: var(--font-product-label);
  font-weight: 700;
}
.product-copy > span::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(229,240,223,0.82);
}
.product-copy h3 {
  font-size: var(--font-product-title);
  line-height: 1.15;
  margin: 5px 0 8px;
}
.product-copy p {
  max-width: 230px;
  color: rgba(255,255,255,0.9);
  font-size: var(--font-product-body);
  line-height: 1.75;
}

/* access */
.shop-guide-list { display:grid; gap:10px; margin:0; }
.shop-guide-list div { display:grid; grid-template-columns:72px minmax(0, 1fr); gap:12px; align-items:start; padding-bottom:10px; border-bottom:1px solid #f3eadf; }
.shop-guide-list div:last-child { border-bottom:0; padding-bottom:0; }
.shop-guide-list dt { color:#6f806f; font-weight:700; font-size:var(--font-small); line-height:1.7; }
.shop-guide-list dd { margin:0; color:#3a2e2a; font-size:var(--font-body); line-height:1.75; }
.shop-guide-list a { color:#7d6048; font-weight:700; text-underline-offset:3px; }
.shop-exterior { margin: 14px 0 16px; border-radius: 8px; overflow: hidden; background: #f6efe6; }
.shop-exterior img { display: block; width: 100%; height: 220px; object-fit: cover; }

/* calendar page */
.calendar-page { background:#fff; }
.calendar-hero { padding:40px 16px 0; background:#fff; }
.calendar-hero h1 { font-size:var(--font-page-hero-title); line-height:1.25; margin-bottom:10px; color:#211b18; }
.calendar-hero p:last-child { color:#625751; font-size:var(--font-page-hero-body); line-height:1.8; }
.calendar-hero .section-kicker,
.calendar-hero h1,
.calendar-hero p:last-child { display:none; }
.calendar-page-section { padding:0 16px 16px; }
.calendar-card { background:#fff; border:1px solid #eadfce; border-radius:8px; padding:18px; box-shadow:0 12px 28px rgba(58,46,42,0.08); }
.calendar-page-head { display:flex; align-items:center; justify-content:center; margin-bottom:16px; text-align:center; }
.calendar-page-title { color:#211b18; font-size:var(--font-calendar-title); font-weight:700; }
.calendar-page-hours { color:#76675f; font-size:var(--font-small); margin-top:2px; }
.calendar-large { gap:6px; font-size:var(--font-calendar-body); }
.calendar-large div { min-height:40px; padding:9px 0 13px; border-radius:6px; }
.calendar-weekday { color:#7b6d64; font-weight:700; background:transparent; }
.calendar-legend { display:flex; align-items:center; gap:8px; margin-top:14px; color:#666; font-size:var(--font-small); }
.legend-closed,.legend-today { display:inline-block; width:18px; height:18px; border-radius:5px; }
.legend-closed { background:#ffe0e0; }
.legend-today { border:2px solid #b0896a; }

/* product detail page */
.product-detail-page { background:#fff; }
.product-detail-hero { padding:40px 16px 0; background:#fff; }
.product-detail-hero h1 { color:#211b18; font-size:var(--font-page-hero-title); line-height:1.25; margin:6px 0 10px; }
.product-detail-hero p:last-child { color:#625751; font-size:var(--font-page-hero-body); line-height:1.9; }
.product-detail-hero .section-kicker,
.product-detail-hero h1,
.product-detail-hero p:last-child { display:none; }
.product-detail-list { padding: 0 16px 24px; display:grid; gap:24px; }
.product-detail-card {
  scroll-margin-top: 92px;
  background:#fff;
  border:1px solid #eadfce;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(58,46,42,0.08);
}
.product-detail-card img { display:block; width:100%; height:250px; object-fit:cover; background:#f6efe6; }
.product-detail-copy { padding:20px; }
.product-detail-copy span {
  display:block;
  color:#6f806f;
  font-family:'Playfair Display', serif;
  font-size:var(--font-detail-label);
  font-weight:700;
  margin-bottom:4px;
}
.product-detail-copy h2 { color:#211b18; font-size:var(--font-detail-title); line-height:1.25; margin-bottom:10px; }
.product-detail-copy p { color:#514842; font-size:var(--font-detail-body); line-height:1.9; }
.product-detail-note {
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #f0e7dc;
  color:#76675f;
  font-size:var(--font-detail-note);
}

/* =====================
   Responsive layout
   Keep the existing iPhone-like look, then scale width, spacing, and columns by viewport.
===================== */
img, iframe { max-width: 100%; }

@media (max-width: 767px) {
  :root {
    --frame-width: min(100%, 430px);
    --font-section-title: 20px;
    --font-products-title: 28px;
    --font-product-title: 30px;
    --font-detail-title: 25px;
  }

  body { overflow-x: hidden; }
  .device-frame { width: var(--frame-width); box-shadow: none; }
  header { width: var(--frame-width); left: 50%; transform: translateX(-50%); }
  section { padding-left: 16px; padding-right: 16px; }
  .hero-inner { flex-direction:column; }
  .product-copy { right: 118px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --frame-width: min(100%, 920px);
    --font-header-logo: 18px;
    --font-section-title: 22px;
    --font-body: 15px;
    --font-products-title: 32px;
    --font-product-title: 32px;
    --font-detail-title: 27px;
    --font-calendar-body: 14px;
  }

  .device-frame { width: var(--frame-width); }
  header { width: var(--frame-width); left: 50%; transform: translateX(-50%); }
  section,
  .calendar-hero,
  .product-detail-hero,
  .news-page-hero { padding-left: 32px; padding-right: 32px; }
  .calendar-page-section,
  .product-detail-list,
  .news-page-list,
  .page-back { padding-left: 32px; padding-right: 32px; }
  .hero-inner .about-image,
  .hero-inner .about-image .img-placeholder { height: 430px; }
  .message-inner { max-width: 820px; }
  .message-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-story img { height: 230px; }
  .product-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
  .product-card-large { grid-column: 1 / -1; min-height: 420px; }
  .product-card { min-height: 320px; border-radius: 8px; }
  .shop-exterior img,
  .parking-photo img { height: 300px; }
  .product-detail-card { display:grid; grid-template-columns: 42% 1fr; }
  .product-detail-card img { height: 100%; min-height: 300px; }
  .calendar-large div { min-height: 54px; }
}

@media (min-width: 1024px) {
  :root {
    --frame-width: min(100%, 1080px);
    --font-header-logo: 19px;
    --font-nav: 14px;
    --font-section-title: 23px;
    --font-body: 15px;
    --font-message-title: 32px;
    --font-products-title: 36px;
    --font-products-lead: 15px;
    --font-product-title: 34px;
    --font-detail-title: 28px;
    --font-calendar-body: 15px;
    --font-footer: 13px;
  }

  body { overflow-x: hidden; }
  .device-frame { width: var(--frame-width); }
  header {
    width: var(--frame-width);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
  }
  .header-inner { justify-content: flex-start; padding: 16px 0; }
  .hamburger { display: none; }
  nav {
    position: static;
    width: auto;
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
  }
  nav ul { display:flex; align-items:center; gap:4px; margin:0; }
  nav li { border-bottom:0; }
  nav a { padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
  nav a:hover { background: var(--sub); }
  main { padding-top: 70px; }

  section,
  .calendar-hero,
  .product-detail-hero,
  .news-page-hero { padding-left: 48px; padding-right: 48px; }
  .calendar-page-section,
  .product-detail-list,
  .news-page-list,
  .page-back { padding-left: 48px; padding-right: 48px; }
  .calendar-page .page-back,
  .product-detail-page .page-back,
  .news-page-main .page-back,
  .reservation-page .page-back,
  .parking-page .page-back { max-width: none; margin-left: 0; margin-right: 0; }
  .section-title { margin-bottom: 28px; }

  .hero-inner .about-image,
  .hero-inner .about-image .img-placeholder { height: 460px; }
  .message-section { padding-top: 76px; padding-bottom: 76px; }
  .message-inner { max-width: 920px; }
  .message-story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .message-story article { display: contents; }
  .message-story img { height: 280px; }
  .message-story article img { order: 1; }
  .message-story article p { grid-column: 1 / -1; order: 2; width: 100%; max-width: none; margin: 0; font-size: 16px; line-height: 1.95; }
  .calendar-pop { padding-left: 48px; padding-right: 48px; }
  .calendar-pop-card { max-width: 900px; margin: 0 auto; }
  #news .card,
  .news-page-list .card,
  .reservation-page .card { max-width: 900px; margin-left: auto; margin-right: auto; }
  .parking-page .card { max-width: 860px; margin-left: auto; margin-right: auto; }
  #access .card {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 18px;
    align-items: start;
  }
  #access .card > p,
  #access .card > noscript { grid-column: 1 / -1; }
  #access iframe { height: 280px; }
  .shop-exterior { margin: 0; }
  .shop-exterior img { height: 280px; }

  .products-section { padding: 66px 48px 74px; }
  .products-heading { max-width: 760px; }
  .product-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; gap: 18px; }
  .product-card,
  .product-card-large { min-height: 380px; border-radius: 8px; }
  .product-card-large { grid-column: auto; }
  .product-copy { right: 24px; bottom: 70px; }
  .product-copy p { max-width: 280px; }

  .product-detail-list { grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; gap: 22px; }
  .product-detail-card { display:grid; grid-template-columns: 360px minmax(0, 1fr); }
  .product-detail-card img { height: 100%; min-height: 300px; }

  .calendar-card { max-width: 840px; margin: 0 auto; padding: 24px; }
  .calendar-large div { min-height: 66px; }

  .parking-page .card {
    max-width: 860px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 14px 18px;
  }
  .parking-page .card > p,
  .parking-photo,
  .parking-note { grid-column: 1 / -1; }
  .parking-photo img { height: 360px; }
  .parking-map { margin-top: 0; }
  .parking-map iframe { height: 260px; }
  footer { padding: 32px 24px; }
}

@media (max-width:420px) { .hero-inner { flex-direction:column; } .device-frame { width:100%; box-shadow:none; } header { position:fixed; width:100%; } }

@media (prefers-reduced-motion: reduce) {
  .hero-inner .about-image img {
    transition: none;
  }
}
