/* =========================================================
   こもれびベーカリー共通デザイン
   スマホで見やすいように、小さい画面を基準に作っています。
========================================================= */

:root {
  --color-ink: #342d2a;
  --color-muted: #756c66;
  --color-paper: #fffaf3;
  --color-white: #ffffff;
  --color-milk: #f7efe5;
  --color-apricot: #e6a76f;
  --color-rose: #c96f75;
  --color-sage: #7f9b7b;
  --color-sage-soft: #edf4ea;
  --color-wood: #9f6b45;
  --color-line: #eadbcc;
  --shadow-soft: 0 18px 45px rgba(52, 45, 42, 0.13);
  --radius: 8px;
  --max-width: 1120px;
  --font-soft: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    linear-gradient(90deg, rgba(127, 155, 123, 0.06) 1px, transparent 1px),
    linear-gradient(var(--color-paper), var(--color-paper));
  background-size: 28px 28px, auto;
  font-family: var(--font-soft);
  line-height: 1.8;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 12px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(234, 219, 204, 0.85);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-sage-soft);
  color: var(--color-sage);
  font-weight: 800;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

.header-nav a {
  color: var(--color-muted);
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(92svh - 64px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--color-milk);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(52, 45, 42, 0.12), rgba(52, 45, 42, 0.62));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 126px 18px 52px;
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(52, 45, 42, 0.34);
}

.hero-content h1 {
  max-width: 780px;
  margin: 10px 0 16px;
  font-size: clamp(2.35rem, 11vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.bakery-hero .hero-content h1 {
  font-size: clamp(2rem, 8.5vw, 5rem);
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  font-size: 1rem;
}

.sample-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(52, 45, 42, 0.62);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe8d2;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--color-rose);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(201, 111, 117, 0.28);
}

.button.secondary {
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink);
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 7vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--color-muted);
}

.soft-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max-width)) / 2));
  background: linear-gradient(135deg, rgba(237, 244, 234, 0.9), rgba(255, 250, 243, 0.96));
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card,
.sample-card,
.menu-card,
.access-box {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(52, 45, 42, 0.08);
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--color-sage-soft);
  color: var(--color-sage);
  font-weight: 900;
}

.feature-card h3,
.access-box h3,
.menu-category h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature-card p,
.access-box p {
  margin: 0;
  color: var(--color-muted);
}

.sample-list {
  display: grid;
  gap: 14px;
}

.sample-card {
  display: grid;
  gap: 4px;
  padding: 20px;
  text-decoration: none;
}

.sample-card span {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-sage-soft);
  color: var(--color-sage);
  font-size: 0.78rem;
  font-weight: 800;
}

.sample-card strong {
  font-size: 1.25rem;
}

.sample-card small {
  color: var(--color-muted);
}

.sample-card.muted {
  opacity: 0.72;
}

.closing-note {
  color: var(--color-muted);
  text-align: center;
}

.two-column {
  display: grid;
  gap: 18px;
}

.two-column p {
  margin: 0;
}

.notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #e6c7a8;
  border-radius: var(--radius);
  background: #fff4e7;
  color: #6d4c2f;
  font-weight: 700;
}

.menu-area {
  display: grid;
  gap: 30px;
}

.menu-category {
  display: grid;
  gap: 14px;
}

.menu-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-wood);
}

.menu-category h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--color-line);
}

.menu-grid {
  display: grid;
  gap: 14px;
}

.menu-card {
  overflow: hidden;
}

.menu-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(127, 155, 123, 0.18), rgba(230, 167, 111, 0.18)),
    var(--color-milk);
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.menu-body {
  padding: 16px;
}

.menu-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 28px;
  margin-bottom: 8px;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.label.recommended {
  background: #ffe7ec;
  color: #a94756;
}

.label.soldout {
  background: #eee8e1;
  color: #675b53;
}

.menu-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.menu-title-row h4 {
  margin: 0;
  font-size: 1.08rem;
}

.price {
  flex: 0 0 auto;
  color: var(--color-rose);
  font-weight: 900;
}

.menu-description {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.soldout-card {
  opacity: 0.74;
}

.info-layout {
  display: grid;
  gap: 18px;
}

.shop-info {
  display: grid;
  gap: 10px;
  margin: 0;
}

.shop-info div {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

.shop-info dt {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.shop-info dd {
  margin: 0;
  font-weight: 700;
}

.access-box {
  padding: 20px;
  align-self: start;
}

.access-box .button {
  margin-top: 18px;
}

.sample-note {
  margin-top: 18px;
  color: var(--color-muted);
}

.site-footer {
  padding: 28px 18px;
  border-top: 1px solid var(--color-line);
  background: var(--color-milk);
  color: var(--color-muted);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .hero-content {
    padding-inline: 34px;
  }

  .feature-grid,
  .sample-list,
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .info-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .sample-ribbon {
    left: clamp(24px, 5vw, 48px);
  }
}

@media (min-width: 980px) {
  .hero-content {
    padding-bottom: 82px;
  }

  .section {
    padding-block: 92px;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .menu-title-row {
    display: grid;
    gap: 4px;
  }
}
