:root {
  --brown: #3e2c23;
  --brown-2: #3e2c23;
  --cream: #f6ebd6;
  --cream-2: #f6ebd6;
  --paper: #f6ebd6;
  --line: #e2cda9;
  --bread: #c97835;
  --berry: #f06723;
  --sage: #3e2c23;
  --sage-soft: #e6edda;
  --sky-soft: #dbece8;
  --yellow: #e9c765;
  --ink: #3e2c23;
  --muted: #3e2c23;
  --shadow: 0 16px 34px rgba(62, 42, 33, 0.16);
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-heading: "Yusei Magic", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-hero: "Noto Serif JP", "Noto Serif", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --side-width: 269px;
  --section-pad-y: 80px;
  --heading-gap: 50px;
  --button-height: 70px;
  --button-radius: 39px;
  --card-radius: 20px;
  --content-left: 280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

main {
  overflow: hidden;
}

.demo-notice {
  width: 100%;
  margin-left: 0;
  padding: 9px 16px;
  color: #fff;
  background: var(--brown);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.demo-notice p { margin: 0; }

.side-nav {
  position: fixed;
  z-index: 20;
  top: 273px;
  left: 0;
  width: var(--side-width);
  height: 550px;
  padding: 72px 0;
  overflow: visible;
  border-radius: 0 20px 20px 0;
  background: rgba(62, 44, 35, 0.9);
  box-shadow: 0 16px 32px rgba(26, 16, 10, 0.22);
}

.side-logo {
  position: absolute;
  top: -182px;
  left: 34px;
  display: grid;
  place-items: center;
  width: 202px;
  height: 202px;
  padding: 0;
  background: transparent;
}

.side-logo img {
  width: 202px;
  height: 202px;
  padding: 10px;
  border: 3px solid #3e2c23;
  border-radius: 50%;
  background: var(--cream);
  object-fit: contain;
}

.side-nav a:not(.side-logo) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: calc(100% - 24px);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 0 0 8px;
  border-bottom: 1px dashed rgba(246, 235, 214, 0.78);
  color: #fff8ed;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.side-nav a:not(.side-logo):hover {
  background: rgba(255, 248, 237, 0.12);
}

.mobile-header,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: #fffdf7;
  background: var(--brown);
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 5800ms linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(35, 22, 16, 0.32), rgba(35, 22, 16, 0.06) 42%, rgba(35, 22, 16, 0.42)),
    linear-gradient(0deg, rgba(34, 21, 15, 0.54), rgba(34, 21, 15, 0.02) 56%);
}

.shop-pill {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 30px;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 310px;
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(62, 42, 33, 0.74);
  border-radius: 0;
  color: var(--brown);
  background: rgba(255, 253, 247, 0.36);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.shop-pill svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: min(640px, calc(100% - 570px));
  right: auto;
  bottom: 112px;
  width: 538px;
}

.hero-kicker {
  margin: 0 0 10px;
  color: #f1d9a3;
  font-size: 15px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-hero);
  font-size: 48px;
  font-weight: 700;
  line-height: normal;
  text-shadow: 0 2px 12px rgba(42, 25, 15, 0.34);
}

.hero-text {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.9;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 64px);
  margin-top: 28px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 28px 0 22px;
  border: 1px solid rgba(255, 253, 247, 0.42);
  border-radius: 999px;
  color: #fffdf7;
  background: rgba(62, 42, 33, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.hero-badges img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.section {
  padding: var(--section-pad-y) 0;
  padding-left: var(--content-left);
}

.section:nth-of-type(odd) {
  background: var(--cream);
}

.section:nth-of-type(even) {
  background: var(--cream-2);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--heading-gap);
}

.section-heading img {
  width: 123px;
  height: 112px;
  object-fit: contain;
}

.section-heading h2 {
  margin: 0;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: normal;
}

.section-lead {
  max-width: 560px;
  margin: -12px auto 38px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  text-align: center;
}

.two-column,
.online-layout,
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 353px;
  gap: 42px;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
}

.copy-block p {
  margin: 0 0 18px;
  color: #5f4a3d;
  font-size: 16px;
  line-height: 2;
}

.bread-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--button-height);
  padding: 10px 40px;
  border: 0;
  border-radius: var(--button-radius);
  color: #fffdf7;
  background: var(--brown);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(62, 42, 33, 0.14);
  cursor: pointer;
}

/* ボタン先頭のクロワッサン装飾：左上に重ねてはみ出させる（カンプ準拠） */
.bread-button > img:first-child {
  position: absolute;
  left: -64px;
  top: -26px;
  width: 130px;
  height: 84px;
  object-fit: contain;
  transform-origin: 72% 64%;
}

@keyframes croissantCrack {
  0% { transform: scale(1) rotate(0deg); }
  22% { transform: scale(1.18) rotate(-6deg); }
  50% { transform: scale(0.94) rotate(5deg); }
  78% { transform: scale(1.05) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.bread-button > img.is-cracking {
  animation: croissantCrack 0.5s ease;
}

.shop-photo,
.map-frame {
  margin: 0;
}

/* 地図クリックで拡大：通常時のサムネ */
.map-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.map-zoom-trigger img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.map-zoom-trigger:hover img {
  transform: scale(1.02);
}

.map-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(62, 42, 33, 0.78);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

/* 地図拡大ライトボックス */
.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 40px;
  cursor: zoom-out;
}

.map-lightbox[hidden] {
  display: none;
}

.map-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  cursor: default;
}

.map-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.map-lightbox-close:hover {
  background: #fff;
}

.shop-photo img,
.map-frame img,
.online-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.shop-photo img {
  width: 353px;
  height: 223px;
  object-fit: cover;
}

.section-bread {
  background:
    linear-gradient(0deg, rgba(111, 125, 89, 0.08), rgba(111, 125, 89, 0.08)),
    var(--cream-2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  grid-auto-rows: 540px;
  align-items: start;
  gap: 22px;
  justify-content: center;
  max-width: 884px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 280px;
  height: 540px;
  overflow: hidden;
  border: 1px solid rgba(226, 205, 169, 0.86);
  border-radius: var(--card-radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(62, 42, 33, 0.12);
}

/* カード上の写真：3枚とも同じ高さに統一（カンプ準拠 260px） */
.product-thumb {
  position: relative; /* ラベルを画像左上に重ねるため */
  width: 100%;
  height: 260px;
  flex: 0 0 260px;
  overflow: hidden;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ラベルは画像の左上に重ねる */
.product-thumb .product-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-body {
  position: relative;
  display: flex;
  flex: 1 1 280px;
  height: 280px;
  flex-direction: column;
  padding: 18px 20px 78px;
}

.product-body-top {
  display: flex;
  flex-direction: column;
}

.product-label,
.online-card-tags span,
.news-list span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 4px 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

/* カードのラベルだけはキャッチコピー（オレンジ）と同じ色に */
.product-thumb .product-label {
  background: var(--berry);
  color: #fffdf7;
}

.product-body h3,
.online-card-body h3 {
  margin: 10px 0 10px;
  color: var(--brown);
  font-size: 19px;
  line-height: 1.45;
}

.news-list h3 {
  margin: 0;
  color: var(--brown);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.product-body p,
.online-card-body p {
  min-height: auto;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* 価格行は絶対配置でカード下端から一定距離に固定。3枚とも同じ高さに揃う */
.product-foot {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: flex-end; /* 価格を右寄せ */
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(62, 42, 33, 0.14);
}

.product-body strong,
.online-card-body strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--brown);
  font-size: 22px;
  font-weight: 700;
}

/* キャッチコピー：タイトルの上に小さくオレンジで表示 */
.product-catch {
  display: block;
  margin-bottom: 6px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 700;
}

.product-body small,
.online-card-body small {
  color: var(--muted);
  font-size: 11px;
}

.online-card-body strong {
  color: var(--berry);
  font-size: 24px;
  margin-top: auto;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.section-news {
  background: var(--cream);
}

/* お知らせブロック（サブ見出し＋下線＋一覧） */
.news-block {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 38px;
}

.news-subtitle {
  width: fit-content;
  margin: 0 0 18px;
  padding: 0 50px 8px 0;
  border-bottom: 1px solid var(--brown);
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
}

.news-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

/* 日付 95px / ラベル 70px / テキスト 355px で固定 */
.news-list article {
  display: grid;
  grid-template-columns: 95px 70px 355px;
  gap: 18px;
  align-items: center;
  padding: 0;
  border-bottom: 0;
}

.news-list time {
  color: var(--brown);
  font-size: 14px;
  font-weight: 500;
}

/* お知らせのラベル（共通サイズ） */
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  min-height: 26px;
  padding: 3px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* 通常ラベル（通販・営業日など）：ペーパー系の薄いベージュ */
.news-tag.tag-cream {
  color: var(--brown);
  background: #e9d9b3;
}

/* 新商品ラベルのみ濃いブラウン */
.news-tag.tag-brown {
  color: var(--paper);
  background: var(--brown);
}

/* お知らせと同じ左端から始めるため、news-block と同じ幅で中央寄せする */
.tweet-title {
  width: max-content;
  max-width: 100%;
  /* 95(date) + 70(label) + 355(text) + 18*2(gap) = 556px と合わせる */
  min-width: 556px;
  margin: 48px auto 18px;
}

.tweet-title h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
}

.tweet-instagram {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
}

.tweet-instagram img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tweet-title p {
  margin: 0;
  color: var(--brown);
  font-size: 14px;
}

/* ポラロイド：2本のロープに2枚ずつ計4枚をぶら下げる構成（カンプ準拠） */
.polaroid-stage {
  position: relative;
  /* セクションの左パディング（PCはサイドナビ280px）を打ち消してビューポート幅まで広げる */
  margin-top: 36px;
  margin-left: calc(-1 * var(--content-left));
  margin-right: 0;
  width: calc(100% + var(--content-left));
  outline: none;
  cursor: pointer;
}

.polaroid-stage:focus-visible {
  outline: 3px solid rgba(111, 125, 89, 0.55);
  outline-offset: 4px;
}

/* 1行分（ロープ＋ポラロイド2枚） */
.polaroid-line {
  position: relative;
  width: 100%;
}

.polaroid-line--top {
  margin-bottom: 30px;
}

/* 全幅のロープ。aspect-ratio で高さを自動調整して、太さとたるみを保つ。
   ロープのビジュアル中心がクリップの針金（輪っか）位置に来るよう、top をネガティブに */
.polaroid-rope {
  position: absolute;
  top: calc(12px - 2.07vw);
  left: 0;
  right: 0;
  aspect-ratio: 1736 / 90;
  background: url("../image/polaroid/rope/rope_trim.webp") center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* ポラロイド2枚を横並びに。サイドナビ分の余白を左に取って、ポラロイドはコンテンツ領域の中央に揃える */
.polaroid-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center; /* コンテンツ領域内で中央寄せ */
  gap: clamp(40px, 8vw, 120px);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--content-left);
  padding-right: 0;
}

/* 上段／下段とも中央寄せでOK（カジュアル感は polaroid 個別の rotate で表現） */
.polaroid-line--top .polaroid-row,
.polaroid-line--bottom .polaroid-row {
  justify-content: center;
}

.polaroid {
  width: clamp(200px, 22vw, 280px);
  /* 4枚とも同じアスペクト比で表示（うっすら違う元画像でも見た目を統一） */
  aspect-ratio: 370 / 477;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  /* クリップの先端をロープより上に出して、ロープを挟んでいるように見せる */
  margin-top: -10px;
  filter: drop-shadow(0 14px 14px rgba(62, 42, 33, 0.15));
  pointer-events: none;
}

/* それぞれ少し傾けて自然な感じに */
.polaroid-1 { transform: rotate(-3deg); }
.polaroid-2 { transform: rotate(2deg); }
.polaroid-3 { transform: rotate(-2deg); }
.polaroid-4 { transform: rotate(3deg); }

/* クリックで弾むアニメーション（ロープも一緒に揺れる） */
.polaroid-stage.is-bouncing .polaroid,
.polaroid-stage.is-bouncing .polaroid-rope {
  animation: ropeBounce 740ms cubic-bezier(0.22, 0.9, 0.28, 1);
}

.polaroid-stage.is-bouncing .polaroid-2,
.polaroid-stage.is-bouncing .polaroid-4 {
  animation-delay: 55ms;
}

@keyframes ropeBounce {
  0% {
    translate: 0 0;
  }
  26% {
    translate: 0 15px;
  }
  48% {
    translate: 0 -8px;
  }
  68% {
    translate: 0 5px;
  }
  100% {
    translate: 0 0;
  }
}

.instagram-button .sns-mini {
  width: 26px;
  height: 26px;
  filter: invert(1);
}

.section-access {
  background:
    linear-gradient(0deg, rgba(219, 236, 232, 0.55), rgba(219, 236, 232, 0.55)),
    var(--cream-2);
}

/* 店舗情報の見出し（Yusei Magic） */
.shop-info-title {
  margin: 0 0 14px;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

.shop-info dl {
  margin: 0;
}

.shop-info div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(62, 42, 33, 0.13);
}

.shop-info dt {
  color: var(--brown);
  font-weight: 700;
}

.shop-info dd {
  margin: 0;
  color: var(--muted);
}

.calendar {
  width: max-content;
  max-width: 100%;
  margin: 38px auto 0;
  text-align: center;
}

.calendar h3 {
  margin: 0 0 14px;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
}

/* カレンダー：セル40×28、パン30×25、数字右下。曜日の間隔を広めに */
.calendar-head,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  column-gap: 18px;
  row-gap: 6px;
  justify-content: center;
}

/* 曜日ヘッダーと日付の1行目の間に余白を空ける */
.calendar-head {
  margin-bottom: 16px;
}

/* 曜日ヘッダー：濃いブラウンの角丸枠＋白文字（Yusei Magic） */
.calendar-head span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--brown);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
}

.calendar-grid span {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
}

.calendar-grid .empty {
  background: transparent;
}

.calendar-grid .closed {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

/* 営業日：30×25 のパンを背景に、20×24 の数字を右下に */
.calendar-grid .open {
  background: url("../image/calendar/choco_coronet_calendar_icon.webp") top left / 30px 25px no-repeat;
  place-items: end end;
  padding: 0;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.legend-open {
  background: url("../image/calendar/choco_coronet_calendar_icon.webp") center / contain no-repeat;
}

.legend-closed {
  border-radius: 50%;
  background: var(--yellow);
}

.online-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.online-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.online-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--brown);
  font-size: 13px;
  font-weight: 700;
}

.online-points img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.online-card {
  overflow: hidden;
  border: 1px solid rgba(226, 205, 169, 0.86);
  border-radius: var(--card-radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.online-card img {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.online-card-body {
  padding: 16px;
}

.online-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* オンラインカード下段：価格＋ギフトにもおすすめ（区切り線付き、左右配置） */
.online-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(62, 42, 33, 0.14);
}

.section-contact {
  background: var(--cream);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form label:not(.privacy) {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.contact-form label > span:first-child {
  color: var(--brown);
  font-weight: 700;
  text-align: right;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b69e7b;
  border-radius: 0;
  color: var(--ink);
  background: #fffdf7;
}

.contact-form input,
.contact-form select {
  min-height: 38px;
  padding: 7px 10px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 10px;
  resize: vertical;
}

.contact-form .textarea-label {
  align-items: flex-start;
}

.contact-form .textarea-label > span {
  padding-top: 8px;
}

.privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.privacy input {
  width: 14px;
  min-height: auto;
}

.submit-button {
  margin: 0 auto;
}

.form-message {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--sage);
  font-weight: 700;
  text-align: center;
}

.footer {
  position: relative;
  min-height: 400px;
  padding: 70px 28px 44px;
  color: var(--cream-2);
  background: var(--brown);
  text-align: center;
}

.footer-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-sns a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
}

.footer-sns img {
  width: 44px;
  height: 44px;
  filter: invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  max-width: 760px;
  margin: 0 auto 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 248, 237, 0.38);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cream-2);
  font-size: 12px;
  text-decoration: none;
}

.footer-nav img {
  width: 24px;
  height: 18px;
  object-fit: contain;
}

.footer small {
  color: rgba(255, 248, 237, 0.76);
}

.footer-copy {
  margin: 12px 0 8px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: rgba(255, 248, 237, 0.76);
  font-size: 12px;
}

.footer-legal a {
  color: rgba(255, 248, 237, 0.86);
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.back-top {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--cream-2);
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.4s ease;
}

.back-top img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  object-position: center bottom;
}

/* クリック中：画面右下に固定して、ページと一緒に上へ移動するように見せる */
.back-top.is-running {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
}

/* TOPに到達したらフェードアウトして消える */
.back-top.is-fading {
  opacity: 0;
}

/* ワン！と吠える瞬間のアニメーション（少し体を弾ませる） */
@keyframes chappyBark {
  0% {
    transform: scale(1) rotate(0deg) translateY(0);
  }
  15% {
    transform: scale(1.12) rotate(-4deg) translateY(-6px);
  }
  35% {
    transform: scale(1.06) rotate(3deg) translateY(0);
  }
  55% {
    transform: scale(1.1) rotate(-2deg) translateY(-3px);
  }
  80% {
    transform: scale(1.03) rotate(1deg) translateY(0);
  }
  100% {
    transform: scale(1) rotate(0deg) translateY(0);
  }
}

.back-top.is-barking img {
  transform-origin: center bottom;
  animation: chappyBark 0.6s ease-in-out;
}

@media (max-width: 1040px) {
  :root {
    --side-width: 0px;
  }

  main,
  .footer {
    margin-left: 0;
  }

  .section {
    padding-left: clamp(28px, 5vw, 72px);
  }

  /* ポラロイドはサイドナビが無くなったぶん、左パディング分だけ広げる */
  .polaroid-stage {
    margin-left: calc(-1 * clamp(28px, 5vw, 72px));
    width: calc(100% + clamp(28px, 5vw, 72px));
  }

  .side-nav {
    display: none;
  }

  .demo-notice {
    position: fixed;
    z-index: 45;
    top: 0;
    left: 0;
    right: 0;
    margin-left: 0;
  }

  .mobile-header {
    position: fixed;
    z-index: 40;
    top: 40px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 10px 18px;
    background: rgba(255, 248, 237, 0.96);
    box-shadow: 0 10px 24px rgba(62, 42, 33, 0.1);
  }

  .mobile-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--cream-2);
    background: var(--brown);
  }

  .menu-button span {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
  }

  .mobile-nav {
    position: fixed;
    z-index: 35;
    top: 110px;
    left: 0;
    right: 0;
    display: grid;
    padding: 14px 18px 22px;
    background: rgba(62, 42, 33, 0.98);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 248, 237, 0.14);
    color: var(--cream-2);
    text-decoration: none;
  }

  .hero {
    min-height: 720px;
    padding-top: 110px;
  }

  .hero-copy {
    left: auto;
    right: 26px;
    bottom: 48px;
    width: min(620px, calc(100% - 52px));
  }

  .hero h1 {
    font-size: 36px;
  }

  .shop-pill {
    top: 90px;
    right: 18px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 76px 22px;
  }

  /* ポラロイドはsection左右padding(22px)分だけ広げて画面幅いっぱいに */
  .polaroid-stage {
    margin-left: -22px;
    width: calc(100% + 44px);
  }

  /* スマホ：ポラロイドは1枚ずつ縦に並べる */
  .polaroid {
    width: min(72vw, 280px);
    margin-top: -10px;
  }

  /* スマホはライン全体のロープを消し、各ポラロイドに個別ロープを付ける */
  .polaroid-rope {
    display: none;
  }

  /* 縦並びにして、各polaroid-wrapが1枚ずつ表示するように */
  .polaroid-row,
  .polaroid-line--top .polaroid-row,
  .polaroid-line--bottom .polaroid-row {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 70px; /* 各ポラロイドの間に空きを作る（ロープ分も確保） */
    justify-content: center;
  }

  /* 各ポラロイドwrapを relative にして、ロープを上から重ねる */
  .polaroid-wrap {
    position: relative;
    display: inline-block;
  }

  /* 各ポラロイドの上に個別のロープを表示（画面幅いっぱい） */
  .polaroid-wrap::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    aspect-ratio: 1736 / 116;
    background: url("../image/polaroid/rope/rope_trim.webp") center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: -1;
  }

  /* ライン間のマージンを狭める（縦並びなので行ごとに余白付ける必要少ない） */
  .polaroid-line--top {
    margin-bottom: 0;
  }

  .two-column,
  .online-layout,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    justify-items: center;
  }

  .product-body p {
    min-height: auto;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* 店舗紹介の写真は画面幅いっぱいに */
  .shop-photo img {
    width: 100%;
    height: auto;
  }

  /* お知らせと店長のつぶやきは左端を揃える */
  .news-block {
    width: auto;
    margin: 0 0 38px;
  }

  .tweet-title {
    width: auto;
    min-width: 0;
    margin: 48px 0 18px;
  }

  /* 小見出しはセクション見出しより小さく */
  .news-subtitle,
  .shop-info-title {
    font-size: 22px;
  }

  .tweet-title h3 {
    font-size: 22px;
  }

  .calendar h3 {
    font-size: 20px;
  }

  /* ファミリーパンセットのカードはパン紹介カードと同じ幅に */
  .online-card {
    width: 280px;
    justify-self: center;
  }

  .polaroid-stage.is-bouncing .polaroid {
    animation-duration: 520ms;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  /* スマホは地図が十分大きいので、クリック拡大は無効にする */
  .map-zoom-trigger {
    pointer-events: none;
    cursor: default;
  }
  .map-zoom-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 680px;
  }

  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 36px;
    width: auto;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .online-points {
    justify-content: center;
  }

  .online-points span {
    justify-content: center;
    text-align: center;
  }

  .shop-pill {
    max-width: calc(100% - 36px);
    min-height: 52px;
    padding: 0 18px;
    border-radius: 0;
    gap: 7px;
    font-size: 12px;
  }

  .shop-pill svg {
    width: 18px;
    height: 18px;
  }

  .section-heading {
    gap: 8px;
  }

  .section-heading img {
    width: 52px;
    height: 52px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .news-subtitle,
  .shop-info-title,
  .tweet-title h3 {
    font-size: 19px;
  }

  .calendar h3 {
    font-size: 18px;
  }

  .copy-block p,
  .section-lead {
    font-size: 14px;
    text-align: left;
  }

  .bread-button {
    width: 100%;
    max-width: 330px;
    min-height: 50px;
    padding: 10px 16px;
    white-space: normal;
  }

  /* クロワッサン装飾が画面左で切れないよう、はみ出し量を抑える */
  .bread-button > img:first-child {
    left: -26px;
    top: -16px;
    width: 96px;
    height: 62px;
  }

  .shop-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .calendar {
    max-width: 340px;
  }

  .calendar-head,
  .calendar-grid {
    gap: 4px;
  }

  .contact-form label:not(.privacy) {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-form label > span:first-child {
    text-align: left;
  }

  .privacy {
    justify-content: flex-start;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .back-top {
    position: static;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* デモ用の未作成ページ案内 */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(62, 44, 35, 0.58);
}

.demo-modal[hidden] {
  display: none;
}

.demo-modal-box {
  width: min(100%, 520px);
  padding: 38px 42px 34px;
  border-radius: 28px;
  background: #fff4dd;
  text-align: center;
  box-shadow: 0 18px 50px rgba(45, 29, 20, 0.35);
}

.demo-modal-chappy {
  width: auto;
  height: 120px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.demo-modal-box p {
  margin: 0;
  color: #4c3329;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.9;
}

.demo-modal-close {
  min-width: 180px;
  min-height: 54px;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  background: #f46622;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.demo-modal-close:focus-visible {
  outline: 3px solid #4c3329;
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .demo-modal-box {
    padding: 30px 22px 26px;
    border-radius: 22px;
  }

  .demo-modal-chappy {
    height: 96px;
  }
}
