/*
  HI-MALL / ひなたの市(いち)
  やさしい町の観光サイト風 — 丸みのあるフォント、手書き感、クリーム + 若草 + 柿色パステル
*/

@import url('https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Zen+Maru+Gothic:wght@400;500;700;900&family=Kiwi+Maru:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Fraunces:ital,opsz,wght@1,9..144,300&display=swap');

:root {
  --paper: #fff9ed;
  --cream: #fff3de;
  --cream-deep: #fce8c4;
  --ink: #3e362d;
  --ink-soft: #6f624f;
  --ink-line: #d6c9ac;
  --line: #ead9b6;

  --leaf: #8fb45a;          /* 若草 */
  --leaf-deep: #5d8339;
  --leaf-soft: #c8dba0;
  --sky: #b3d8dc;
  --sky-deep: #6fa3a8;
  --peach: #ffb78e;
  --peach-deep: #e8784a;
  --kaki: #d97233;           /* 柿 */
  --kaki-light: #fab07a;
  --kincha: #e5b85e;         /* 金茶 */
  --berry: #d9547a;          /* 苺色 */
  --brown: #8b6b3a;

  --accent: var(--kaki);
  --accent-ink: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 4px 14px rgba(138, 100, 40, 0.08);
  --shadow-card: 0 10px 28px -14px rgba(100, 70, 30, 0.30);
  --shadow-pop: 0 14px 40px -18px rgba(100, 70, 30, 0.40);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

body {
  margin: 0;
  color: var(--ink);
  line-height: 1.8;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(900px 420px at 92% -8%, rgba(255, 183, 142, .22), transparent 60%),
    radial-gradient(720px 380px at -8% 110%, rgba(143, 180, 90, .18), transparent 60%),
    radial-gradient(600px 320px at 50% 50%, rgba(255,255,255,.4), transparent 70%);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Klee One", "Zen Maru Gothic", "Yu Gothic", serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}

/* ============ Layout ============ */
.hm-container { max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px){ .hm-container { padding: 0 16px; } }

/* ============ Utility ============ */
.hm-center { text-align: center; }
.hm-mt-sm { margin-top: 12px; }
.hm-mt { margin-top: 24px; }
.hm-mt-lg { margin-top: 44px; }
.hm-text-muted { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.02em; }
.hm-flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============ Dev bar ============ */
.hm-devbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 200;
  background: #fff;
  border: 2px solid var(--kaki);
  box-shadow: 0 12px 28px -14px rgba(100,70,30,.5);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12px;
  max-width: 94vw;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hm-devbar::-webkit-scrollbar { display: none; }
.hm-devbar-label {
  background: var(--kaki);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.hm-devbar a {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  white-space: nowrap;
  border: 1px solid transparent;
}
.hm-devbar a:hover { background: var(--cream); border-color: var(--line); text-decoration: none; }
.hm-devbar a.current { background: var(--leaf); color: #fff; }
.hm-devbar .sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }

/* ============ Header ============ */
.hm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 237, 0.94);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 2px dashed var(--line);
}
.hm-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.hm-brand { display: inline-flex; align-items: center; gap: 12px; }
.hm-brand-mark {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--kaki);
  color: #fff;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 26px;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.12), 0 4px 14px rgba(217,114,51,.35);
  position: relative;
  transform: rotate(-4deg);
}
.hm-brand-mark::before {
  content: "";
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.1);
}
.hm-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.hm-brand-jp {
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.hm-brand-en {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.28em;
  margin-top: 2px;
}

.hm-nav-center { display: flex; gap: 2px; justify-content: center; }
.hm-nav-center a {
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  color: var(--ink);
  border-radius: var(--radius-pill);
  position: relative;
  transition: background .15s, color .15s;
}
.hm-nav-center a:hover { background: var(--cream); color: var(--kaki); text-decoration: none; }

.hm-nav-right { display: flex; gap: 4px; align-items: center; }
.hm-nav-right a {
  font-size: 12px;
  padding: 8px 10px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}
.hm-nav-right a:hover { color: var(--kaki); }
.hm-nav-cart {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 7px 14px !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.hm-nav-cart:hover { background: var(--kaki); color: #fff !important; border-color: var(--kaki); }
.hm-badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px;
  border-radius: 10px;
  background: var(--kaki);
  color: #fff;
  font-size: 10px;
  padding: 0 6px;
  font-weight: 700;
}
.hm-nav-cart:hover .hm-badge { background: #fff; color: var(--kaki); }

/* Mobile */
.hm-mobile-toggle { display: none; }
.hm-mobile-btn {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--line);
  background: var(--cream);
  border-radius: 50%;
  position: relative;
}
.hm-mobile-btn span {
  display: block;
  position: absolute; left: 11px; right: 11px;
  height: 2px; background: var(--ink); border-radius: 2px;
}
.hm-mobile-btn span:nth-child(1){ top: 15px; }
.hm-mobile-btn span:nth-child(2){ top: 21px; }
.hm-mobile-btn span:nth-child(3){ top: 27px; }

@media (max-width: 860px){
  .hm-nav-center, .hm-nav-right { display: none; }
  .hm-mobile-btn { display: inline-block; }
  .hm-mobile-toggle:checked ~ .hm-mobile-panel { display: block; }
  .hm-mobile-panel {
    display: none;
    position: fixed; inset: 86px 0 0 0;
    background: var(--paper);
    padding: 28px;
    z-index: 40;
    overflow-y: auto;
  }
  .hm-mobile-panel a {
    display: block;
    padding: 14px 0;
    font-family: "Klee One", sans-serif;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px dashed var(--line);
    color: var(--ink);
  }
  .hm-mobile-panel a:last-child { border-bottom: 0; }
}

/* ============ Announcement ticker ============ */
.hm-ticker {
  background: var(--kaki);
  color: #fff;
  font-size: 12px;
  padding: 8px 20px;
  text-align: center;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.hm-ticker span { margin: 0 10px; }
.hm-ticker .chip {
  display: inline-block;
  background: #fff;
  color: var(--kaki);
  padding: 1px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-right: 8px;
}

/* ============ Hero ============ */
.hm-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 80px;
}
.hm-hero::before, .hm-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: .6;
  pointer-events: none;
}
.hm-hero::before {
  width: 110px; height: 110px;
  background: var(--peach);
  top: 12%; left: 4%;
}
.hm-hero::after {
  width: 170px; height: 170px;
  background: var(--leaf-soft);
  bottom: 8%; right: 6%;
}

.hm-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hm-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--kaki);
  font-weight: 700;
  letter-spacing: 0.16em;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.hm-hero-kicker::before { content: "✿"; font-size: 14px; }

.hm-hero h1 {
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 18px;
}
.hm-hero h1 .stroke {
  color: var(--kaki);
  position: relative;
  display: inline-block;
}
.hm-hero h1 .stroke::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 8px;
  background: var(--peach);
  opacity: .55;
  border-radius: 4px;
  z-index: -1;
}
.hm-hero-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 0 28px;
  line-height: 2;
}
.hm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hm-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--peach) 60%, var(--kaki-light) 100%);
  box-shadow: var(--shadow-pop);
}
.hm-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hm-hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(30% 30% at 20% 25%, rgba(255,255,255,.4), transparent 60%);
  pointer-events: none;
}
.hm-hero-sticker {
  position: absolute;
  right: -18px; top: -18px;
  width: 110px; height: 110px;
  background: var(--leaf);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 50%;
  border: 4px dashed #fff;
  transform: rotate(-8deg);
  box-shadow: 0 10px 22px rgba(93, 131, 57, .4);
}
.hm-hero-sticker small { font-size: 10px; display: block; font-weight: 400; opacity: .9; letter-spacing: 0.2em; }

.hm-hero-cloud {
  position: absolute;
  bottom: 18px; left: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}
.hm-hero-cloud small { display: block; color: var(--ink-soft); font-size: 10px; margin-top: 2px; letter-spacing: 0.2em; }

/* ============ Buttons ============ */
.hm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  background: var(--kaki);
  color: #fff;
  border: 2px solid var(--kaki);
  border-radius: var(--radius-pill);
  transition: transform .15s ease, background .2s ease, box-shadow .2s;
  min-height: 48px;
  white-space: nowrap;
  box-shadow: 0 6px 0 var(--peach-deep), var(--shadow-soft);
}
.hm-btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--peach-deep), var(--shadow-soft); }
.hm-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--peach-deep); }
.hm-btn::after { content: "→"; font-size: 16px; transition: transform .2s; }
.hm-btn:hover::after { transform: translateX(4px); }

.hm-btn-warm { background: var(--kaki); border-color: var(--kaki); }
.hm-btn-outline {
  background: #fff; color: var(--kaki); border-color: var(--kaki);
  box-shadow: 0 6px 0 var(--cream-deep), var(--shadow-soft);
}
.hm-btn-outline:hover { background: var(--cream); box-shadow: 0 4px 0 var(--cream-deep), var(--shadow-soft); }

.hm-btn-ghost {
  background: transparent; color: var(--ink-soft); border-color: var(--line);
  box-shadow: none;
}
.hm-btn-ghost:hover { background: var(--cream); color: var(--ink); }

.hm-btn-leaf { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 6px 0 var(--leaf-deep), var(--shadow-soft); }
.hm-btn-leaf:hover { box-shadow: 0 4px 0 var(--leaf-deep), var(--shadow-soft); }

.hm-btn-sm { padding: 8px 16px; font-size: 13px; min-height: 38px; }
.hm-btn-sm::after { font-size: 13px; }
.hm-btn-block { width: 100%; justify-content: center; }

/* ============ Section ============ */
.hm-section { position: relative; padding: 64px 0; }
.hm-section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: 36px;
}
.hm-section-title {
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 36px);
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}
.hm-section-title::before, .hm-section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px; height: 2px;
  background: var(--kaki);
  border-radius: 2px;
}
.hm-section-title::before { left: 0; }
.hm-section-title::after { right: 0; }
.hm-section-sub {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.28em;
  margin-top: 8px;
}

.hm-section-link {
  text-align: center;
  margin-top: 28px;
}

/* ============ Product grid ============ */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 20px;
}
.hm-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-soft);
}
.hm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.hm-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream), var(--cream-deep));
  position: relative;
}
.hm-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hm-card:hover .hm-card-thumb img { transform: scale(1.05); }
.hm-card-thumb-empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Klee One", serif; font-size: 38px; color: rgba(62,54,45,.2);
}
.hm-card-tags {
  position: absolute; bottom: 10px; left: 10px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.hm-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.hm-card-muni {
  font-family: "Klee One", sans-serif;
  font-size: 12px;
  color: var(--kaki);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.hm-card-name {
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  min-height: 2.8em;
}
.hm-card-price {
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--kaki);
}
.hm-card-price small {
  font-size: 11px;
  color: var(--ink-soft);
  margin-left: 4px;
  font-weight: 400;
}

.hm-chip {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: #fff;
  color: var(--ink);
}
.hm-chip-leaf { background: var(--leaf-soft); color: var(--leaf-deep); }
.hm-chip-cold { background: var(--sky); color: #2d5a63; }
.hm-chip-warm { background: var(--kaki-light); color: #8f3b10; }
.hm-chip-ink  { background: var(--ink); color: #fff; }

/* ============ Municipality grid ============ */
.hm-muni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.hm-muni-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: transform .15s, border-color .15s, background .15s;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.hm-muni-card:hover { transform: translateY(-2px); border-color: var(--kaki); background: var(--cream); text-decoration: none; }
.hm-muni-card .emoji { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.hm-muni-card .name {
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.hm-muni-card .count { font-size: 11px; color: var(--ink-soft); }

/* ============ Info band ============ */
.hm-info-band {
  background: linear-gradient(180deg, var(--cream), var(--paper));
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
}
.hm-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .15s;
}
.hm-info-card:hover { transform: translateY(-2px); }
.hm-info-card .num {
  display: inline-block;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  font-family: "Klee One", serif; font-weight: 600;
  line-height: 40px;
  font-size: 18px;
  margin-bottom: 10px;
}
.hm-info-card:nth-child(2) .num { background: var(--kaki); }
.hm-info-card:nth-child(3) .num { background: var(--sky-deep); }
.hm-info-card h3 { font-size: 18px; margin: 0 0 8px; }
.hm-info-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.8; }
@media (max-width: 780px){ .hm-info-cards { grid-template-columns: 1fr; } }

/* ============ News ============ */
.hm-news-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.hm-news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: grid; grid-template-columns: auto auto 1fr; gap: 14px;
  align-items: center;
  transition: border-color .15s, background .15s;
}
.hm-news-item:hover { border-color: var(--kaki); background: var(--cream); text-decoration: none; }
.hm-news-item .date { font-family: "Fraunces", serif; font-style: italic; font-weight: 300; font-size: 13px; color: var(--ink-soft); }
.hm-news-item .tag {
  background: var(--leaf-soft); color: var(--leaf-deep);
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
}
.hm-news-item .tag.warm { background: var(--kaki-light); color: #8f3b10; }
.hm-news-item .title { font-family: "Klee One", sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }

/* ============ Story ============ */
.hm-story {
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(255, 243, 222, .9), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--cream) 60%, var(--paper));
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
  padding: 80px 24px;
  overflow: hidden;
  position: relative;
}
.hm-story::before, .hm-story::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: .4;
  filter: blur(6px);
}
.hm-story::before { left: -60px; top: 20px; background: var(--peach); }
.hm-story::after { right: -60px; bottom: 20px; background: var(--leaf-soft); }
.hm-story-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; }
.hm-story-kicker {
  display: inline-block;
  background: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--kaki);
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.hm-story h2 { font-size: clamp(22px, 3.8vw, 34px); margin: 0 0 18px; line-height: 1.55; }
.hm-story p { font-size: 15px; color: var(--ink-soft); line-height: 2.1; margin: 0; }

/* ============ Footer ============ */
.hm-footer {
  background: #2d3623;
  color: #d5d0be;
  padding: 64px 0 32px;
  margin-top: auto;
}
.hm-footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hm-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px dashed rgba(213, 208, 190, .18);
}
.hm-footer-brand .hm-brand-mark { transform: rotate(-6deg); }
.hm-footer-brand .hm-brand-jp { color: #fff; }
.hm-footer-brand .hm-brand-en { color: #a8a485; }
.hm-footer-brand p { color: #a8a485; margin: 14px 0 0; font-size: 13px; line-height: 2; max-width: 320px; }
.hm-footer-col h4 {
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: 14px; color: #fff;
  margin: 0 0 14px;
  letter-spacing: 0.14em;
}
.hm-footer-col ul { list-style: none; padding: 0; margin: 0; }
.hm-footer-col li { margin-bottom: 8px; }
.hm-footer-col a { color: #a8a485; font-size: 13px; }
.hm-footer-col a:hover { color: var(--kaki-light); }
.hm-footer-bottom {
  padding-top: 20px; font-size: 11px; color: #7d795f;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  letter-spacing: 0.1em;
}
@media (max-width: 780px){ .hm-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px){ .hm-footer-top { grid-template-columns: 1fr; } }

/* ============ Panels / Forms ============ */
.hm-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.hm-panel h1 { font-family: "Klee One", sans-serif; margin: 0 0 10px; font-size: 26px; }
.hm-panel h2 { font-family: "Klee One", sans-serif; margin: 0 0 12px; font-size: 20px; }

.hm-form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.hm-form-row label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hm-input, .hm-select, .hm-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.hm-input:focus, .hm-select:focus, .hm-textarea:focus {
  outline: 0;
  border-color: var(--kaki);
  box-shadow: 0 0 0 3px rgba(217,114,51,.15);
}
.hm-textarea { min-height: 110px; resize: vertical; }
.hm-form-row-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .hm-form-row-inline { grid-template-columns: 1fr; } }

.hm-alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.hm-alert-error { background: #fde4d7; color: #8f3b10; border-color: #e8a377; }
.hm-alert-info { background: var(--cream); color: var(--kaki); border-color: var(--line); }
.hm-alert-success { background: #e7f0d4; color: var(--leaf-deep); border-color: #b6cf83; }

/* ============ Tables ============ */
.hm-table { width: 100%; border-collapse: collapse; }
.hm-table th, .hm-table td { padding: 12px 14px; border-bottom: 1px dashed var(--line); font-size: 13.5px; text-align: left; }
.hm-table th { background: var(--cream); color: var(--ink-soft); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }

/* ============ Breadcrumb ============ */
.hm-breadcrumb { padding: 22px 0 0; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.08em; }
.hm-breadcrumb a { color: var(--ink-soft); }
.hm-breadcrumb a:hover { color: var(--kaki); }
.hm-breadcrumb span { margin: 0 8px; color: var(--line); }

/* ============ Product detail ============ */
.hm-pd-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; padding: 36px 0; }
.hm-pd-gallery { display: grid; gap: 10px; }
.hm-pd-main {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.hm-pd-main img { width: 100%; height: 100%; object-fit: cover; }
.hm-pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hm-pd-thumb { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.hm-pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-pd-title { font-family: "Klee One", sans-serif; font-weight: 600; font-size: clamp(22px, 3vw, 32px); margin: 10px 0; }
.hm-pd-price { font-family: "Klee One", sans-serif; font-weight: 600; font-size: 34px; color: var(--kaki); margin: 12px 0 20px; }
.hm-pd-price small { font-size: 12px; color: var(--ink-soft); margin-left: 8px; font-weight: 400; }
.hm-pd-qty { display: flex; align-items: center; gap: 12px; margin: 14px 0 24px; }
.hm-pd-qty input { width: 92px; text-align: center; }
.hm-pd-spec { border-top: 1px dashed var(--line); margin-top: 28px; padding-top: 20px; }
.hm-pd-spec dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 14px; margin: 0; font-size: 13px; }
.hm-pd-spec dt { color: var(--ink-soft); font-weight: 700; }
.hm-pd-spec dd { margin: 0; color: var(--ink); }
@media (max-width: 860px){ .hm-pd-wrap { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; } }

/* ============ Cart / Checkout ============ */
.hm-cart-list { display: flex; flex-direction: column; gap: 12px; }
.hm-cart-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.hm-cart-row .thumb { width: 110px; height: 110px; background: var(--cream); border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.hm-cart-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-cart-row .meta .muni { font-family: "Klee One", sans-serif; font-size: 12px; color: var(--kaki); font-weight: 600; }
.hm-cart-row .meta .name { font-family: "Klee One", sans-serif; font-size: 15px; color: var(--ink); margin-top: 4px; display: block; }
.hm-cart-row .meta .price { font-family: "Klee One", sans-serif; font-size: 20px; margin-top: 8px; color: var(--kaki); }
.hm-cart-row .qty-ctrl { display: flex; align-items: center; gap: 8px; }
.hm-cart-row .qty-ctrl input { width: 70px; text-align: center; padding: 10px; }
.hm-cart-row form { display: inline-flex; gap: 8px; align-items: center; }

.hm-cart-summary {
  background: #fff; border: 1px solid var(--line); padding: 26px; position: sticky; top: 110px;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.hm-cart-summary h2 { font-family: "Klee One", sans-serif; margin: 0 0 16px; font-size: 20px; }
.hm-cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 0 0 18px; }
.hm-cart-summary dt { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.hm-cart-summary dd { margin: 0; text-align: right; font-family: "Klee One", sans-serif; font-weight: 600; font-size: 16px; }
.hm-cart-summary .total dt, .hm-cart-summary .total dd { font-size: 20px; color: var(--kaki); padding-top: 12px; border-top: 1px dashed var(--line); }

.hm-checkout-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; }
@media (max-width: 860px){
  .hm-checkout-grid { grid-template-columns: 1fr; }
  .hm-cart-row { grid-template-columns: 90px 1fr; }
  .hm-cart-row .thumb { width: 90px; height: 90px; }
  .hm-cart-row .actions { grid-column: 1 / -1; justify-content: space-between; display: flex; }
}

/* ============ Upload drop area ============ */
.hm-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  background: var(--cream);
  color: var(--ink-soft);
  transition: border-color .15s, background .15s;
}
.hm-drop.hover { border-color: var(--kaki); background: #fff; }
.hm-drop input[type=file] { display: block; margin: 12px auto 0; }

/* ============ Block editor ============ */
.hm-block-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.hm-block-card.draft { border-style: dashed; opacity: .75; }
.hm-block-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.hm-block-card-type {
  background: var(--cream);
  color: var(--kaki);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: "Klee One", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.hm-block-card-actions { display: flex; gap: 6px; }

/* ============ Responsive ============ */
@media (max-width: 980px){
  .hm-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hm-hero-visual { max-height: 380px; aspect-ratio: 5/4; }
}
@media (max-width: 640px){
  .hm-section { padding: 44px 0; }
  .hm-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .hm-card-body { padding: 10px 12px 14px; }
  .hm-card-name { font-size: 13px; min-height: 2.6em; }
  .hm-card-price { font-size: 18px; }
  .hm-ticker { font-size: 11px; }
  .hm-hero h1 { font-size: 30px; }
  .hm-hero-sticker { width: 80px; height: 80px; font-size: 11px; }
}

/* Touch */
button, .hm-btn, input[type="submit"] { min-height: 44px; }
.hm-btn-sm { min-height: 36px; }
