/* ============================================================
   ふらんく屋 — サイト共通スタイル
   ============================================================ */

:root {
  --bg:        #FBF8F3;   /* クリーム */
  --bg-paper:  #ffffff;
  --bg-soft:   #F3EEE6;
  --ink:       #2A1F15;   /* 焦げ茶 */
  --ink-mute:  #5A4A3A;
  --ink-soft:  #8A7A6A;
  --accent:    #E67E2B;   /* もちもち焼き目オレンジ */
  --accent-dark: #C85E0F;
  --black:     #1A1210;
  --rule:      rgba(42, 31, 21, 0.14);
  --rule-soft: rgba(42, 31, 21, 0.06);

  --font-ja:   'Noto Serif JP', 'Shippori Mincho', serif;
  --font-en:   'Cormorant Garamond', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --wrap:      1180px;
  --wrap-pad:  clamp(20px, 5vw, 48px);
  --ease:      cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .7; }

button { cursor: pointer; border: 0; background: 0; font-family: inherit; color: inherit; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--wrap-pad); width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ja); font-weight: 600;
  font-size: 20px; letter-spacing: 0.18em;
  color: var(--ink);
}
.brand small {
  font-family: var(--font-en); font-style: italic;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ink-soft); text-transform: uppercase;
}
.site-nav {
  display: flex; align-items: center; gap: 32px;
  font-size: 13px; letter-spacing: 0.12em; color: var(--ink-mute);
}
.site-nav a:hover { color: var(--accent); opacity: 1; }
.site-nav .cart-link {
  position: relative;
  padding: 10px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  letter-spacing: 0.18em; font-size: 12px;
}
.site-nav .cart-link:hover { background: var(--accent); color: #fff; opacity: 1; }
.site-nav .cart-count {
  display: inline-block;
  background: var(--accent); color: #fff;
  min-width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 999px;
  margin-left: 6px; font-size: 11px; font-weight: 600;
  padding: 0 6px;
}
.site-nav .cart-count[data-count="0"] { display: none; }

.menu-toggle { display: none; }

@media (max-width: 780px) {
  .site-nav { display: none; position: fixed; inset: 72px 0 0; background: var(--bg); flex-direction: column; justify-content: flex-start; padding: 40px 0; gap: 20px; font-size: 16px; }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: flex; flex-direction: column; width: 32px; height: 24px; justify-content: space-between; }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: all .3s; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* ============================================================
   HERO (top page)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(230,126,43,0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-en); font-style: italic;
  font-size: 14px; letter-spacing: 0.3em; color: var(--accent);
  margin-bottom: 20px;
}
.hero__h1 {
  font-family: var(--font-ja); font-weight: 600;
  font-size: clamp(32px, 5vw, 60px); line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero__h1 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(transparent 60%, rgba(230,126,43,0.2) 60%);
  padding: 0 4px;
}
.hero__lead {
  font-size: 15px; line-height: 2.1; letter-spacing: 0.06em;
  color: var(--ink-mute); margin-bottom: 36px;
  max-width: 32em;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px; background: var(--ink); color: var(--bg);
  border-radius: 999px; font-size: 14px; letter-spacing: 0.2em;
  font-weight: 500;
  transition: all .3s var(--ease);
}
.hero__cta:hover { background: var(--accent); transform: translateY(-2px); opacity: 1; }
.hero__visual {
  position: relative; aspect-ratio: 4/5; max-width: 480px; margin: 0 auto;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 40px 80px rgba(42,31,21,0.15); }
.hero__visual::before {
  content: ''; position: absolute; inset: -20px;
  background: radial-gradient(ellipse at center, rgba(230,126,43,0.3), transparent 70%);
  z-index: -1; filter: blur(40px);
}
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 320px; }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: clamp(60px, 10vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--black); color: var(--bg); }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow {
  font-family: var(--font-en); font-style: italic;
  font-size: 13px; letter-spacing: 0.3em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-ja); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 40px); line-height: 1.5;
  letter-spacing: 0.1em;
}
.section-head p {
  margin-top: 16px; color: var(--ink-mute);
  font-size: 14px; letter-spacing: 0.08em;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--bg-paper);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: all .4s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(42,31,21,0.08); }
.product-card__media {
  position: relative; aspect-ratio: 1/1;
  background: var(--bg-soft); overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff;
  padding: 4px 10px; font-size: 11px; letter-spacing: 0.14em;
  border-radius: 999px; font-weight: 600;
}
.product-card__body {
  padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px;
  flex: 1 1 auto;
}
.product-card__cat {
  font-family: var(--font-en); font-style: italic;
  font-size: 11px; letter-spacing: 0.22em; color: var(--accent);
  text-transform: uppercase;
}
.product-card__name {
  font-family: var(--font-ja); font-weight: 600;
  font-size: 15px; line-height: 1.5; letter-spacing: 0.04em;
  color: var(--ink);
}
.product-card__price {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 18px; color: var(--ink);
  margin-top: 2px;
}
.product-card__price small {
  font-size: 11px; color: var(--ink-soft); margin-left: 4px; font-weight: 400;
}
.product-card__actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; }
.add-to-cart {
  flex: 1 1 auto;
  padding: 12px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; font-size: 12px; letter-spacing: 0.2em;
  font-weight: 500;
  transition: all .3s;
}
.add-to-cart:hover { background: var(--accent); color: #fff; }
.add-to-cart[disabled] { opacity: 0.4; cursor: not-allowed; }
.add-to-cart.is-added {
  background: #2b8a3e; color: #fff;
}

/* ============================================================
   SHOP FILTERS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px;
  background: var(--bg-paper); color: var(--ink-mute);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em;
  transition: all .3s;
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; align-items: center;
  background: var(--bg-paper);
  padding: 20px; border-radius: 14px;
  border: 1px solid var(--rule-soft);
}
.cart-item__img { width: 100px; height: 100px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body h4 { font-size: 15px; margin-bottom: 6px; letter-spacing: 0.04em; }
.cart-item__price { font-size: 13px; color: var(--ink-mute); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 2px; background: var(--bg-soft); border-radius: 999px; padding: 2px; }
.qty-ctrl button {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-paper); color: var(--ink);
  font-size: 16px; font-weight: 600;
  transition: all .2s;
}
.qty-ctrl button:hover { background: var(--ink); color: var(--bg); }
.qty-ctrl span { min-width: 32px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-item__remove {
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink-soft);
  border-bottom: 1px solid currentColor;
}
.cart-item__remove:hover { color: #c23636; }

.cart-summary {
  position: sticky; top: 96px;
  background: var(--bg-paper); border: 1px solid var(--rule-soft);
  border-radius: 14px; padding: 28px;
}
.cart-summary h3 { font-size: 14px; letter-spacing: 0.2em; color: var(--ink-mute); margin-bottom: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.cart-summary__row.total { border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 10px; font-size: 20px; font-weight: 600; }
.checkout-btn {
  display: block; width: 100%; padding: 18px; margin-top: 20px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; font-size: 14px; letter-spacing: 0.22em; font-weight: 500;
  text-align: center;
  transition: all .3s;
}
.checkout-btn:hover { background: var(--accent); opacity: 1; }
.checkout-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.cart-empty {
  text-align: center; padding: 80px 20px;
  color: var(--ink-mute);
}
.cart-empty h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: 0.1em; }

/* ============================================================
   TOAST (add-to-cart notification)
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 100px);
  background: var(--ink); color: var(--bg);
  padding: 14px 24px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.14em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform .4s var(--ease);
  z-index: 100;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ============================================================
   DOC PAGES (company, legal, privacy, refund)
   ============================================================ */
.doc { padding: clamp(60px, 8vw, 100px) 0; }
.doc .wrap { max-width: 820px; }
.doc h1 {
  font-family: var(--font-ja); font-weight: 600;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.4;
  letter-spacing: 0.08em; margin-bottom: 40px;
  text-align: center;
}
.doc h2 {
  font-size: 20px; letter-spacing: 0.1em;
  margin: 40px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.doc p { margin-bottom: 16px; line-height: 2.1; color: var(--ink-mute); }
.doc dl.doc-table { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; margin: 20px 0; }
@media (max-width: 600px) {
  .doc dl.doc-table { grid-template-columns: 1fr; }
  .doc dl.doc-table dt { font-weight: 600; margin-top: 10px; }
}
.doc dt { color: var(--ink-mute); font-size: 13px; letter-spacing: 0.14em; padding-top: 4px; }
.doc dd { color: var(--ink); font-size: 15px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd { padding: clamp(40px, 6vw, 80px) 0; }
.pd__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: flex-start; }
@media (max-width: 820px) { .pd__grid { grid-template-columns: 1fr; } }
.pd__media { position: sticky; top: 100px; }
@media (max-width: 820px) { .pd__media { position: static; } }
.pd__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(42,31,21,0.1); }
.pd__thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pd__thumbs button { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: all .2s; padding: 0; }
.pd__thumbs button.is-active { border-color: var(--accent); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__cat { font-family: var(--font-en); font-style: italic; font-size: 13px; letter-spacing: 0.24em; color: var(--accent); text-transform: uppercase; }
.pd__name { font-size: clamp(24px, 3.4vw, 34px); margin: 14px 0 10px; letter-spacing: 0.06em; line-height: 1.4; }
.pd__price { font-family: var(--font-sans); font-weight: 600; font-size: 28px; margin: 10px 0 24px; }
.pd__price small { font-size: 12px; color: var(--ink-soft); margin-left: 6px; font-weight: 400; }
.pd__desc { font-size: 14.5px; line-height: 2.1; color: var(--ink-mute); margin-bottom: 24px; }
.pd__qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pd__qty-row label { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-mute); }
.pd__add { display: block; width: 100%; padding: 20px; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 14px; letter-spacing: 0.22em; font-weight: 500; text-align: center; transition: all .3s; }
.pd__add:hover { background: var(--accent); color: #fff; }
.pd__add.is-added { background: #2b8a3e; }
.pd__spec { margin-top: 32px; border-top: 1px solid var(--rule); padding-top: 24px; }
.pd__spec dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; }
.pd__spec dt { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-mute); padding-top: 4px; }
.pd__spec dd { font-size: 14px; }

/* ============================================================
   LP (Fuwa de Mocchin landing)
   ============================================================ */
.lp-hero {
  position: relative; min-height: 92vh;
  display: grid; place-items: center;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,236,201,.9), rgba(251,248,243,0) 60%), var(--bg);
  overflow: hidden;
  padding: clamp(60px,10vw,120px) 20px;
  text-align: center;
}
.lp-hero__eyebrow { font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 24px; opacity: 0; transform: translateY(14px); }
.lp-hero__title { font-size: clamp(44px, 8vw, 110px); font-weight: 700; line-height: 1.1; letter-spacing: 0.04em; margin-bottom: 24px; }
.lp-hero__title .word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(-4deg); }
.lp-hero__title .word.accent { color: var(--accent); }
.lp-hero__lead { max-width: 36em; margin: 0 auto 36px; font-size: 15px; line-height: 2.1; color: var(--ink-mute); opacity: 0; transform: translateY(10px); }
.lp-hero__cta { display: inline-flex; align-items: center; gap: 10px; padding: 18px 40px; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 13px; letter-spacing: 0.26em; opacity: 0; transform: translateY(10px); transition: all .3s; }
.lp-hero__cta:hover { background: var(--accent); color: #fff; }
.lp-hero__orb {
  position: absolute; z-index: -1;
  width: clamp(300px, 48vw, 560px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(230,126,43,0.22);
}
.lp-hero__orb img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero__orb.a { top: 10%; left: -8%; }
.lp-hero__orb.b { bottom: 6%; right: -10%; width: clamp(220px, 36vw, 400px); }

.lp-section { padding: clamp(90px, 14vw, 160px) 0; position: relative; }
.lp-section--cream { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.lp-section--dark { background: var(--black); color: var(--bg); }
.lp-section--dark .section-head .eyebrow { color: var(--accent); }
.lp-section--dark .section-head h2 { color: var(--bg); }
.lp-section--dark .section-head p { color: rgba(251,248,243,0.65); }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.lp-split.reverse { direction: rtl; }
.lp-split.reverse > * { direction: ltr; }
@media (max-width: 820px) { .lp-split, .lp-split.reverse { grid-template-columns: 1fr; direction: ltr; } }
.lp-split__visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.lp-split__kicker { font-family: var(--font-en); font-style: italic; font-size: 60px; color: var(--accent); line-height: 1; margin-bottom: 20px; opacity: 0.6; }
.lp-split__title { font-size: clamp(26px, 4vw, 40px); line-height: 1.4; letter-spacing: 0.06em; margin-bottom: 20px; }
.lp-split__body { font-size: 15px; line-height: 2.1; color: var(--ink-mute); }
.lp-section--dark .lp-split__body { color: rgba(251,248,243,0.75); }

.lp-flavors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
@media (max-width: 760px) { .lp-flavors { grid-template-columns: 1fr; } }
.lp-flavor { position: relative; background: var(--bg-paper); border-radius: 18px; overflow: hidden; }
.lp-flavor__img { aspect-ratio: 1; overflow: hidden; }
.lp-flavor__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lp-flavor:hover .lp-flavor__img img { transform: scale(1.05); }
.lp-flavor__body { padding: 24px 24px 28px; }
.lp-flavor__name { font-size: 20px; letter-spacing: 0.06em; margin-bottom: 8px; }
.lp-flavor__desc { font-size: 13px; color: var(--ink-mute); line-height: 1.9; margin-bottom: 16px; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: var(--bg-paper); padding: 36px 28px; border-radius: 18px; text-align: center; }
.lp-section--dark .lp-step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.lp-step__num { font-family: var(--font-en); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.lp-step__t { font-size: 16px; letter-spacing: 0.1em; margin-bottom: 10px; }
.lp-step__d { font-size: 13px; color: var(--ink-mute); line-height: 1.9; }
.lp-section--dark .lp-step__d { color: rgba(251,248,243,0.6); }

.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.checkout-form { background: var(--bg-paper); padding: 36px; border-radius: 14px; border: 1px solid var(--rule-soft); display: grid; gap: 18px; }
.checkout-form h3 { font-size: 14px; letter-spacing: 0.2em; color: var(--ink-mute); margin: 6px 0 2px; padding-top: 10px; border-top: 1px solid var(--rule-soft); }
.checkout-form h3:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.checkout-form label { font-size: 12px; letter-spacing: 0.1em; color: var(--ink-mute); display: block; margin-bottom: 6px; }
.checkout-form input, .checkout-form select, .checkout-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule);
  border-radius: 10px; background: var(--bg); font-family: inherit; font-size: 14px;
}
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .checkout-form .row { grid-template-columns: 1fr; } }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid var(--rule); border-radius: 12px; cursor: pointer; transition: all .2s; }
.pay-opt input { width: auto; }
.pay-opt:hover { border-color: var(--accent); }
.pay-opt.is-selected { border-color: var(--accent); background: rgba(230,126,43,0.05); }
.pay-opt strong { display: block; font-size: 14px; }
.pay-opt small { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   SUCCESS / CANCEL
   ============================================================ */
.result { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.result__icon { font-size: 60px; margin-bottom: 20px; }
.result h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 16px; letter-spacing: 0.08em; }
.result p { color: var(--ink-mute); line-height: 2; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #F5F6F8; color: #1F2937; font-family: var(--font-sans), var(--font-ja); font-size: 14px; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 820px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: #1F2937; color: #E5E7EB; padding: 24px 0; }
.admin-side__brand { padding: 0 24px 20px; font-family: var(--font-ja); font-size: 16px; letter-spacing: 0.14em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-side__brand small { display:block; font-family: var(--font-en); font-style: italic; font-size: 10px; color: rgba(255,255,255,0.5); margin-top:4px; letter-spacing: 0.3em; }
.admin-nav { padding: 20px 0; display:flex; flex-direction:column; }
.admin-nav a {
  padding: 12px 24px; display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75); font-size: 13px; letter-spacing: 0.08em;
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255,255,255,0.04); color: #fff; border-left-color: var(--accent); opacity:1; }
.admin-nav .count { margin-left: auto; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 11px; }

.admin-main { padding: 32px clamp(20px, 4vw, 48px); max-width: 1400px; width: 100%; }
.admin-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-family: var(--font-ja); font-size: 22px; font-weight: 600; letter-spacing: 0.06em; color: #1F2937; }
.admin-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #EEF0F3; }
.admin-table th { font-size: 11px; letter-spacing: 0.14em; color: #6B7280; font-weight: 600; text-transform: uppercase; }
.admin-table tr:hover { background: #FAFAFC; }

.admin-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.chip-paid { background: #D1FAE5; color: #065F46; }
.chip-pending { background: #FEF3C7; color: #92400E; }
.chip-shipped { background: #DBEAFE; color: #1E40AF; }
.chip-cancelled { background: #FEE2E2; color: #991B1B; }

.admin-btn { padding: 8px 16px; border-radius: 8px; background: #1F2937; color:#fff; font-size: 12px; letter-spacing: 0.08em; cursor:pointer; }
.admin-btn:hover { background: var(--accent); }
.admin-btn.ghost { background: transparent; color: #1F2937; border: 1px solid #E5E7EB; }
.admin-btn.ghost:hover { background:#F9FAFB; color: #1F2937; }
.admin-btn.danger { background: #DC2626; }
.admin-btn.danger:hover { background: #991B1B; }

.admin-field { display: block; margin-bottom: 10px; }
.admin-field label { display:block; font-size: 11px; letter-spacing: 0.1em; color: #6B7280; margin-bottom: 4px; text-transform: uppercase; }
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 8px;
  font-family: inherit; font-size: 13px; background:#fff;
}
.admin-field input:focus, .admin-field select:focus { border-color: var(--accent); outline: none; }

/* Shipping zones */
.zone { border: 1px solid #E5E7EB; border-radius: 12px; padding: 20px; margin-bottom: 16px; background:#FAFAFC; }
.zone__head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.zone__title input { font-size: 15px; font-weight: 600; padding: 6px 10px; }
.zone__pref { font-size: 12px; color: #6B7280; }
.band-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 8px; align-items: end; }

/* Chat UI */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; min-height: 70vh; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
@media (max-width: 820px) { .chat-shell { grid-template-columns: 1fr; } .chat-pane.inactive { display:none; } }
.chat-list { border-right: 1px solid #EEF0F3; overflow-y: auto; max-height: 80vh; }
.chat-thread { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; cursor: pointer; transition: background .2s; }
.chat-thread:hover { background: #FAFAFC; }
.chat-thread.is-active { background: #FEF8F1; border-left: 3px solid var(--accent); }
.chat-thread__name { font-weight: 600; font-size: 13.5px; margin-bottom: 2px; display:flex; justify-content:space-between; align-items:center; }
.chat-thread__preview { font-size: 12px; color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-thread__badge { background: var(--accent); color:#fff; font-size: 10px; padding: 2px 7px; border-radius: 10px; }
.chat-thread.resolved .chat-thread__name::after { content: ' ✓'; color: #10B981; }

.chat-pane { display: flex; flex-direction: column; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid #EEF0F3; display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap: wrap; }
.chat-head h3 { font-size: 14px; font-weight: 600; }
.chat-head .meta { font-size: 11px; color: #6B7280; letter-spacing: 0.06em; margin-top: 2px; }
.chat-messages { flex: 1 1 auto; padding: 20px; overflow-y: auto; background: #F5F6F8; max-height: 56vh; min-height: 300px; }
.msg-bubble { max-width: 70%; padding: 12px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; }
.msg-bubble .at { display: block; font-size: 10px; color: #9CA3AF; margin-top: 4px; letter-spacing: 0.06em; }
.msg-customer { background: #fff; border: 1px solid #E5E7EB; margin-right: auto; border-top-left-radius: 4px; }
.msg-admin { background: var(--accent); color: #fff; margin-left: auto; border-top-right-radius: 4px; }
.msg-admin .at { color: rgba(255,255,255,0.75); }
.chat-input { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid #EEF0F3; background: #fff; }
.chat-input textarea { flex: 1 1 auto; padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 10px; font-family: inherit; font-size: 13px; resize: none; max-height: 120px; }
.chat-input button { align-self: flex-end; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black); color: var(--bg);
  padding: 60px 0 30px; margin-top: auto;
}
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand h3 { font-size: 20px; letter-spacing: 0.2em; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: rgba(251,248,243,0.6); }
.footer-nav h4 { font-size: 12px; letter-spacing: 0.2em; margin-bottom: 16px; color: rgba(251,248,243,0.7); }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; font-size: 13px; }
.footer-nav a { color: var(--bg); opacity: 0.8; }
.footer-nav a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(251,248,243,0.1);
  text-align: center;
  font-size: 11px; letter-spacing: 0.2em;
  color: rgba(251,248,243,0.5);
}

/* ============================================================
   BANNER SLIDER (元サイトTOPのバナー)
   ============================================================ */
.banner-slider { position: relative; max-width: 1180px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(42,31,21,0.12); background: var(--bg-soft); }
.banner-slider__track { position: relative; aspect-ratio: 1450 / 900; }
.banner-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.banner-slider__slide.is-active { opacity: 1; }
.banner-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.85); color: var(--ink); font-size: 18px; line-height: 44px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.12); z-index: 2; }
.banner-slider__nav--prev { left: 14px; }
.banner-slider__nav--next { right: 14px; }
.banner-slider__dots { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.banner-slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); padding: 0; transition: all .3s; }
.banner-slider__dots button.is-active { background: var(--accent); width: 28px; border-radius: 999px; }
@media (max-width: 600px) { .banner-slider { border-radius: 12px; } .banner-slider__nav { width: 34px; height: 34px; line-height: 34px; font-size: 14px; } }

/* オプション選択へのリンク (商品カード) */
a.add-to-cart { display: block; text-align: center; }

/* ============================================================
   PRODUCT DETAIL — バリエーション / 説明 (参照元と同じ内容)
   ============================================================ */
.pd__media img#pd-main { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.pd__thumbs { flex-wrap: wrap; }
.pd__points { list-style: disc; padding-left: 1.4em; margin: 0 0 24px; font-size: 14.5px; line-height: 2; font-weight: 600; }
.pd__variants { margin-bottom: 24px; }
.pd__variants-label { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-mute); margin-bottom: 10px; }
.pd__variants-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__variants-list button { padding: 10px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-paper); font-size: 13px; letter-spacing: 0.04em; transition: all .2s; }
.pd__variants-list button.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.pd-desc { max-width: 820px; margin: 0 auto; font-size: 15px; line-height: 2.1; color: var(--ink-mute); }
.pd-desc h3 { font-size: 18px; color: var(--ink); margin: 28px 0 10px; letter-spacing: 0.06em; }
.pd-desc p { margin: 0 0 18px; }
.pd-desc img { max-width: 100%; height: auto; display: block; margin: 8px auto 18px; border-radius: 12px; }
.pd-allergy { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13.5px; color: var(--ink); }
.pd-allergy th, .pd-allergy td { border: 1px solid var(--ink); padding: 6px; text-align: left; vertical-align: top; }
.pd-note { font-size: 12px; margin-top: 8px; }
@media (max-width: 600px) { .pd-allergy { font-size: 12px; } }
