/* =============================================================
   坪井人形会館 — mobile top page (design width 390px)
   Fonts: Zen Old Mincho / Zen Kaku Gothic New / Noto Sans JP / Zen Maru Gothic
   ============================================================= */
:root {
  --mincho: "Zen Old Mincho", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
  --noto: "Noto Sans JP", sans-serif;
  --maru: "Zen Maru Gothic", sans-serif;
  --rose: #e0989e;
  --rose-deep: #d4848b;
  --ink: #2b2622;
  --cream: #faf5f2;
  --gold: #a68862;
  --text: #4c463f;
  --ease: 0.3s ease;
}
* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--gothic);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
main { display: block; }

/* ===================== HEADER ===================== */
.hdr {
  position: sticky; top: 0; z-index: 40;
  height: 56px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,245,242,0.96); backdrop-filter: blur(4px);
}
.hdr__logo { display: flex; align-items: center; }
.hdr__logo img { height: 26px; width: auto; display: block; }
.menu-btn {
  width: 52px; height: 40px; border-radius: 8px; background: var(--rose);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff;
  transition: background var(--ease);
}
.menu-btn:hover { background: var(--rose-deep); }
.menu-btn__bars { display: flex; flex-direction: column; gap: 3px; }
.menu-btn__bars i { display: block; width: 20px; height: 2px; background: #fff; }
.menu-btn__label { font-size: 9px; letter-spacing: 0.08em; margin-top: 1px; }

/* ===================== DRAWER ===================== */
.drawer-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity var(--ease); }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 60; width: min(280px, 82vw); height: 100%;
  background: var(--cream); padding: 64px 28px 32px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1);
}
.drawer.is-open { transform: translateX(0); }
.drawer__close { position: absolute; top: 18px; right: 20px; font-size: 20px; color: var(--ink); }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid rgba(224,152,158,0.4); }
.drawer__list a { display: block; padding: 15px 4px; font-family: var(--mincho); font-size: 16px; color: var(--ink); transition: color var(--ease); }
.drawer__list a:hover { color: var(--rose-deep); }

/* ===================== HERO ===================== */
.hero { position: relative; width: 100%; aspect-ratio: 390 / 532; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center top; }
/* Hero tategaki: the doll photo has no clean text-free plate available, so the
   heading stays in the pixel-faithful hero image and real HTML text is overlaid
   transparently (PDF.js text-layer pattern) — selectable/SEO, no visible double. */
.hero__copy {
  position: absolute; top: 52px; left: 24px; margin: 0;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mincho); font-weight: 600; font-size: 40px; color: transparent;
  letter-spacing: 0.12em; line-height: 1.5; cursor: text; user-select: text;
}
.hero__copy span { display: block; }

/* ===================== INTRO / ACCESS ===================== */
.intro { text-align: center; padding: 12px 20px 4px; }
.intro__lead { margin: 0 0 16px; font-family: var(--mincho); font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.7; }
.intro__lead strong { font-size: 21px; font-weight: 700; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badges li {
  background: var(--rose); color: #fff; font-family: var(--mincho); font-weight: 700;
  font-size: 15px; padding: 5px 26px; border-radius: 4px; letter-spacing: 0.04em;
}

/* ===================== shared section heading ===================== */
.sec-head {
  text-align: center; font-family: var(--mincho); font-weight: 700; color: var(--rose);
  font-size: 23px; letter-spacing: 0.06em; margin: 0 0 24px; position: relative; padding-bottom: 14px;
}
.sec-head::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 2px; background: var(--rose); }

/* ===================== NEWS ===================== */
.news { padding: 26px 24px 26px; }
.news__list { list-style: none; margin: 0 0 22px; padding: 0; }
.news__item { padding: 9px 0; border-bottom: 1px solid #eadfd8; }
.news__item:first-child { border-top: 1px solid #eadfd8; }
.news__date { display: block; font-family: var(--gothic); font-weight: 500; font-size: 14px; color: var(--rose-deep); letter-spacing: 0.06em; margin-bottom: 4px; }
.news__body { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text); }
.btn-line {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 220px; margin: 0 auto; padding: 12px; border: 1px solid var(--rose); border-radius: 999px;
  font-size: 14px; color: var(--ink); transition: background var(--ease), color var(--ease);
}
.btn-line__arrow { width: 6px; height: 6px; border-top: 1.5px solid var(--rose-deep); border-right: 1.5px solid var(--rose-deep); transform: rotate(45deg); transition: border-color var(--ease); }
.btn-line:hover { background: var(--rose); color: #fff; }
.btn-line:hover .btn-line__arrow { border-color: #fff; }

/* ===================== CATEGORY ===================== */
.category { padding: 4px 0 22px; }
.sec-fan { display: block; width: 150px; height: auto; margin: 0 auto 4px; }
.sec-head--band { color: var(--rose); padding-bottom: 0; }
.sec-head--band::after { display: none; }
.cat-list { list-style: none; margin: 0; padding: 0 72px; display: flex; flex-direction: column; gap: 20px; }
.cat-card a { display: block; position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.cat-card__media { width: 100%; aspect-ratio: 248 / 165; background-size: cover; background-position: center; }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(224,152,158,0.92); color: #fff; text-align: center; padding: 0; }
.cat-card__body h3 { margin: 0 0 2px; font-family: var(--noto); font-weight: 400; font-size: 19px; color: #fff; letter-spacing: 0.14em; }
.cat-card__body p { margin: 0; font-family: var(--noto); font-weight: 300; font-size: 13px; color: #fff; opacity: 0.95; }

/* ===================== ONLINE SHOP ===================== */
.shop { padding: 24px 24px 26px; background: var(--cream); }
.shop__panel { display: block; text-align: center; border: 2px solid var(--rose); border-radius: 14px; padding: 34px 22px 24px; background: #fdf3f5; }
.shop__cart { display: block; color: var(--rose); margin: 0 auto 8px; }
.shop__cart svg { display: block; margin: 0 auto; }
.shop__head { display: block; font-family: var(--mincho); font-weight: 900; font-size: 22px; color: var(--rose); line-height: 1.55; margin-bottom: 12px; letter-spacing: 0.06em; }
.shop__text { display: block; font-size: 14px; line-height: 1.8; color: var(--text); margin-bottom: 18px; }
.shop__products { width: 100%; display: block; }

/* ===================== INSTAGRAM ===================== */
.insta { padding: 6px 0 22px; }
.insta__grid { display: block; padding: 0 40px; }
.insta__grid img { width: 100%; display: block; }
.insta__cta { display: block; margin: 22px 24px 0; background: var(--rose); border-radius: 12px; padding: 26px 20px; text-align: center; }
.insta__cta-head { display: block; font-family: var(--mincho); font-weight: 900; font-size: 24px; color: #fff; letter-spacing: 0.14em; margin-bottom: 8px; }
.insta__cta-text { display: block; font-family: var(--gothic); font-weight: 500; font-size: 14px; line-height: 1.8; color: #fff; }

/* ===================== STORE INFO + MAP ===================== */
.store { text-align: center; padding: 18px 24px 24px; }
.store__catch { margin: 0 0 26px; font-family: var(--mincho); font-weight: 600; font-size: 15px; line-height: 2; color: var(--rose); }
.store__cat { margin: 0 0 6px; font-family: var(--noto); font-weight: 300; font-size: 12px; color: var(--text); }
.store__name { margin: 6px 0 12px; }
.store__name img { height: 40px; width: auto; display: inline-block; }
.store__addr { font-style: normal; font-family: var(--noto); font-weight: 300; font-size: 12px; line-height: 1.9; color: var(--text); margin: 0 0 20px; }
.store__addr a { color: var(--text); }
.store__map { display: block; margin: 0 0 26px; border-radius: 6px; overflow: hidden; }
.store__map img { width: 100%; }
.store__badges { flex-direction: row; justify-content: center; gap: 8px; margin: 2px 0 18px; }
.store__badges li { font-size: 11px; padding: 4px 14px; }
.store__delivery { margin: 0; font-family: var(--mincho); font-weight: 900; font-size: 15px; line-height: 1.8; color: var(--rose); }

/* ===================== FOOTER ===================== */
.ftr { background: #f4e7e6; text-align: center; padding: 34px 24px 20px; }
.ftr__logo { margin: 0 0 20px; }
.ftr__logo img { height: 30px; width: auto; display: inline-block; }
.ftr__nav { display: flex; justify-content: center; gap: 34px; margin-bottom: 22px; }
.ftr__nav ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.ftr__nav li { margin-bottom: 10px; }
.ftr__nav a { font-family: var(--noto); font-weight: 300; font-size: 12px; color: var(--ink); transition: color var(--ease); }
.ftr__nav a:hover { color: var(--rose-deep); }
.ftr__sns { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.sns { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.sns img { width: 100%; height: 100%; object-fit: cover; }
.sns--line { background: #06c755; color: #fff; font-size: 10px; font-weight: 700; }
.ftr__copy { margin: 0; font-family: var(--noto); font-weight: 400; font-size: 10px; color: #9b8f88; letter-spacing: 0.02em; }
