@charset "UTF-8";
/* ============================================================
   store-shop.css — ショッピングテーマ(花屋・書店・酒屋・惣菜・洋服など)
   方向: クラフト(5)×マガジン。生成り×トマト×からし、丸ゴシック
   シグネチャー: 店先の写真に紐で下げた「店の札」を重ねたヒーロー、商品棚の枠
   ============================================================ */
:root {
  --st-bg: #faf6ef;
  --st-surface: #fffdf8;
  --st-ink: #2f2a24;
  --st-muted: #6f675d;
  --st-line: #e6dccb;
  --st-accent: #c8553d;
  --st-accent-ink: #ffffff;
  --mustard: #e3b448;
  --st-font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --st-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --st-radius: 16px;
  --wrap: min(1120px, 100% - 40px);
}
h1, h2, h3 { font-family: var(--st-font-display); font-weight: 800; line-height: 1.4; letter-spacing: 0.02em; }
.p-wrap { width: var(--wrap); margin-inline: auto; }
.p-section { padding-block: clamp(64px, 9vw, 112px); }
.p-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--st-accent); }
.p-h2 { margin-top: 8px; font-size: clamp(24px, 3.2vw, 36px); }
.p-lead { margin-top: 12px; color: var(--st-muted); }

.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px;
  border-radius: 999px; background: var(--st-accent); color: #fff; border: 2px solid var(--st-accent);
  font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform 0.2s, background 0.2s;
}
.p-btn:hover { transform: translateY(-2px); }
.p-btn--line { background: #fff; color: var(--st-ink); border-color: var(--st-ink); }
.p-btn svg { width: 18px; height: 18px; }

.p-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--st-bg); border-bottom: 2px solid var(--st-ink); }
.p-header__inner { width: var(--wrap); margin-inline: auto; min-height: 66px; display: flex; align-items: center; gap: 24px; }
.p-logo { font-family: var(--st-font-display); font-weight: 800; font-size: 20px; text-decoration: none; }
.p-header__nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; font-weight: 500; }
.p-header__nav a { text-decoration: none; }
.p-header__nav a:hover { color: var(--st-accent); }
.p-header__tel { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--mustard); text-decoration: none; font-weight: 700; }
.p-header__tel svg { width: 16px; height: 16px; }

/* ヒーロー: 店先の写真に札を下げる */
.p-hero { position: relative; min-height: min(80vh, 660px); display: grid; overflow: hidden; }
.p-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(47, 42, 36, 0.35), transparent 50%); }
.p-hero__inner { position: relative; z-index: 1; display: flex; align-items: flex-start; padding-top: 0; }
.p-tag {
  position: relative; margin-top: 48px; width: min(400px, 100%); padding: 44px 30px 28px;
  background: var(--st-surface); border-radius: 18px 18px 22px 22px; box-shadow: 0 24px 50px -24px rgba(47, 42, 36, 0.55);
  transform: rotate(-2deg); transform-origin: 50% 0;
}
.p-tag::before { /* 紐 */
  content: ""; position: absolute; top: -48px; left: 50%; width: 2px; height: 58px; background: var(--st-ink); opacity: 0.7;
}
.p-tag__hole { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--st-bg); box-shadow: inset 0 0 0 2px var(--st-line); }
.p-tag__genre { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mustard); font-size: 13px; font-weight: 700; }
.p-tag__name { margin-top: 12px; font-size: clamp(28px, 3.6vw, 40px); }
.p-tag__name.p-name--m { font-size: clamp(24px, 3vw, 32px); }
.p-tag__name.p-name--l { font-size: clamp(20px, 2.4vw, 26px); }
.p-tag__place { margin-top: 8px; font-size: 14px; color: var(--st-muted); }
.p-tag__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.p-hero__note { position: absolute; right: 16px; bottom: 14px; z-index: 1; font-size: 12px; color: #fff; }

/* 商品棚(受け取ると並ぶ) */
.p-shelf { margin-top: 32px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-shelf__item { display: grid; gap: 6px; }
.p-shelf__ph {
  display: block; aspect-ratio: 1; border-radius: var(--st-radius); border: 2px dashed var(--st-line);
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(227, 180, 72, 0.12) 12px 24px), var(--st-surface);
}
.p-shelf__item b { font-family: var(--st-font-display); font-size: 16px; }
.p-shelf__item small { font-size: 12px; color: var(--st-muted); }
.p-items__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.p-about { background: var(--st-surface); border-block: 2px solid var(--st-ink); }
.p-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.p-about__text { margin-top: 16px; line-height: 2; }
.p-dl { display: grid; grid-template-columns: 6.5em 1fr; border-top: 1px dashed var(--st-line); }
.p-dl dt, .p-dl dd { padding: 13px 0; border-bottom: 1px dashed var(--st-line); }
.p-dl dt { color: var(--st-muted); font-size: 14px; }
.p-dl a { color: var(--st-accent); }
.p-access__map { margin-top: 24px; }
.p-access .st-map { border-radius: var(--st-radius); aspect-ratio: 16 / 7; }
.p-faq { margin-top: 32px; border-top: 2px solid var(--st-ink); }
.p-faq details { border-bottom: 1px dashed var(--st-line); }
.p-faq summary { padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.p-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; font-weight: 800; }
.p-faq details[open] summary::after { content: "−"; }
.p-faq details p { padding: 0 0 18px; color: var(--st-muted); }

.p-footer { padding: 40px 0; background: var(--st-ink); color: rgba(250, 246, 239, 0.8); font-size: 14px; }
.p-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.p-footer b { color: #fff; font-size: 18px; font-family: var(--st-font-display); }
.call-bar a { background: var(--st-accent); color: #fff; border-radius: 999px; }
.call-bar a + a { background: var(--mustard); color: var(--st-ink); }

@media (max-width: 1023px) {
  .p-header__nav { display: none; }
  .p-header__tel { margin-left: auto; }
  .p-shelf { grid-template-columns: repeat(2, 1fr); }
  .p-about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .p-hero { min-height: 560px; }
  .p-tag { margin-top: 44px; transform: rotate(-1.5deg); }
  .p-tag__actions .p-btn { flex: 1 1 auto; }
  .p-access .st-map { aspect-ratio: 4 / 3; }
  .p-dl { grid-template-columns: 5.5em 1fr; }
}

/* 店主のお知らせ帯・キャッチコピー(受け取り後に店主が入れたときだけ出る) */
.p-notice { background: var(--mustard); border-bottom: 2px solid var(--st-ink); }
.p-notice__inner { width: var(--wrap); margin-inline: auto; padding: 14px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; }
.p-notice__label { font-family: var(--st-font-display); font-weight: 800; letter-spacing: 0.12em; }
.p-tag__catch { margin-top: 8px; font-family: var(--st-font-display); font-weight: 800; font-size: 16px; color: var(--st-accent); }

/* 狭いスマホでは、長いボタンの文言を折り返して画面内に収める */
@media (max-width: 767px) {
  .p-btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* ヘッダーの電話: 番号ではなくボタン。長い店名は2行まで */
.p-header__tel { flex: none; white-space: nowrap; min-height: 44px; }
.p-logo { min-width: 0; }
@media (max-width: 767px) {
  .p-header__inner { gap: 12px; }
  .p-logo { font-size: 17px; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}
