:root {
  --ink: #513631;
  --wine: #9b3f5c;
  --wine2: #b55b75;
  --soft: #fbf7f4;
  --line: #eadfd8;
  --muted: #7f6a62;
  --page-bg: #ffffff;
  --card-bg: #ffffff;
  --shadow: 0 8px 24px rgba(91, 62, 51, 0.07);
}

/* ===== MOTTO OIMO shared design system ===== */
html { background: var(--page-bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}
.header *,
.header *::before,
.header *::after {
  box-sizing: border-box;
}

.header a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(96%, 1000px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.header__inner {
  display: grid;
  grid-template-columns: 190px 1fr 100px;
  align-items: center;
  width: min(96%, 1000px);
  height: 100%;
  min-height: 0;
  margin: auto;
}
.logo { display: inline-flex; align-items: center; }
.logo img {
  display: block;
  width: auto;
  height: 110px;
  max-width: 180px;
  object-fit: contain;
}

/* Typography */
.eyebrow {
  margin: 0 0 8px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}
.page-hero {
  position: relative;
  padding: 0;
  background: linear-gradient(120deg,#fff 0%,#fff 62%,#fbf5f2 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero > div[class$="hero__photo"] {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero > div[class$="hero__photo"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 330px;
  padding: 0;
  color: #fff;
}
.page-hero > div[class$="hero__copy"] {
  max-width: 590px;
}
.page-hero.map-hero,
.page-hero.discover-hero,
.page-hero.online-hero,
.page-hero.guide-hero {
  min-height: 330px;
  background: #2f1f1c;
  border-bottom: 0;
}
.page-hero.map-hero::after,
.page-hero.discover-hero::after,
.page-hero.online-hero::after,
.page-hero.guide-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg,rgba(38,22,19,.75) 0%,rgba(38,22,19,.48) 44%,rgba(38,22,19,.16) 78%),
    linear-gradient(180deg,rgba(20,10,8,.05) 45%,rgba(20,10,8,.28) 100%);
  pointer-events: none;
  z-index: 1;
}
.page-hero.map-hero h1,
.page-hero.discover-hero h1,
.page-hero.online-hero h1,
.page-hero.guide-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px,4vw,50px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: .04em;
  color: #fff7ea;
  text-shadow: 0 2px 4px rgba(35,18,10,.45), 0 6px 18px rgba(35,18,10,.28);
}
.page-hero.map-hero .eyebrow,
.page-hero.discover-hero .eyebrow,
.page-hero.online-hero .eyebrow,
.page-hero.guide-hero .eyebrow {
  margin-bottom: 8px;
  color: #f2dbe2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
}
.page-hero.map-hero .lead,
.page-hero.discover-hero .lead,
.page-hero.online-hero .lead,
.page-hero.guide-hero .lead,
.page-hero.map-hero p:last-child,
.page-hero.discover-hero p:last-child,
.page-hero.online-hero p:last-child,
.page-hero.guide-hero p:last-child {
  max-width: 560px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.96);
  font-size: 13px;
  line-height: 1.85;
  text-shadow: 0 1px 3px rgba(25,12,8,.65), 0 3px 10px rgba(25,12,8,.40);
}
.section-heading h2,
.list-heading h2,
.scene > h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
}
.section-heading > div > p:not(.eyebrow),
.list-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

/* Shared controls and buttons */
button,
input,
select,
textarea { font-size: 14px; }
.pill-button,
.post-button,
.submit-button,
.product-link,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(90deg,#8f3654,#b25872);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(155,63,92,.16);
}
.outline-button,
.button-secondary,
.filter-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #cda8b2;
  border-radius: 999px;
}
.more-link,
.text-button,
.back-link {
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
}

/* Card baseline */
.discover-card,
.product-card,
.form-card {
  background: var(--card-bg);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

/* Discover card footer — shared */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.card-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-footer strong {
  color: var(--wine);
  font-size: 16px;
}

.card-footer span {
  color: var(--muted);
  font-size: 11px;
}

.card-weight {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

/* Never make readable UI text smaller than 12px */
.header-actions small,
.discover-card small,
.discover-card b,
.discover-search strong,
.discover-search button,
.discover-search a,
.quick-tags button,
.tag-row__label,
.card-meta,
.card-date,
.card-footer,
.tags span,
.filter-row > label,
.filter-row label span,
.product-meta span,
.market-badge,
.product-shop,
.product-review,
.product-link,
.notice,
.footer small,
.back-link,
.counter,
.photo-drop small,
.field small,
.consent,
.preview-meta,
.preview-footer {
  font-size: 12px;
}

/* Online page alignment */
.shop-section { padding: 48px 0 80px; }
.filter-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}
.product-description { font-size: 14px; }
.product-title { font-size: 17px; }
.product-shop { font-size: 13px; }
.product-review { font-size: 15px; }
.product-link { font-size: 15px; }
.notice { font-size: 12px; }

/* Shared footer */
.footer {
  margin: 0;
  padding: 0;
  background: #fffaf6;
  color: var(--ink);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 92px;
  padding: 24px 0 16px;
  text-align: center;
  background: #4d302c;
  color: #f8efe9;
}
.footer__copy {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
}
.footer__meta {
  display: none;
}
.footer__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(96%, 1000px);
  margin-inline: auto;
  gap: 12px;
  padding: 16px 0 24px;
  background: #fffaf6;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer__logo img {
  display: block;
  width: auto;
  height: 78px;
  object-fit: contain;
}
.footer__brand p {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
}
.sns {
  font-size: 20px;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
}
.footer__bottom a,
.footer__bottom small {
  color: var(--wine);
}
.footer__bottom small {
  font-size: 11px;
}

@media (max-width: 900px) {
  .page-hero h1 { font-size: 36px; }
}

/* Additional readability overrides for existing content */
.ranking li strong,
.ranking li span,
.map-card p,
.social-card p,
.home-post-tags span,
.texture-label,
.new-label,
.preview-tags span,
.footer-bottom nav,
.footer-bottom small,
.service-menu p,
.service-menu span,
.bottom-grid header a,
.store-card p,
.online-card p {
  font-size: 12px;
}

.service-menu h2,
.values h3,
.bottom-grid h3 {
  font-size: 16px;
}

.search-panel label span,
.search-panel > button,
.list-heading select,
.field > span,
.form-card p,
.filter-actions p,
.empty-state p {
  font-size: 13px;
}



/* =========================================================
   MOBILE EXPERIENCE 2026 — shared
   PC styles are intentionally left untouched.
========================================================= */
@media (max-width: 700px) {
  :root {
    --mobile-gutter: 14px;
    --mobile-radius: 16px;
    --mobile-shadow: 0 8px 24px rgba(75, 45, 35, .07);
  }

  body { overflow-x: hidden; }
  .wrap { width: calc(100% - (var(--mobile-gutter) * 2)); }
  .page-hero > div[class$="hero__photo"] {
    min-height: 235px;
  }
  .page-hero.map-hero,
  .page-hero.discover-hero,
  .page-hero.online-hero,
  .page-hero.guide-hero {
    min-height: 235px;
    padding: 0;
  }
  .page-hero__inner {
    min-height: 235px;
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .footer__inner { min-height: 74px; padding: 18px 0 10px; }
  .footer__copy { font-size: 14px; }
  .footer__base { gap: 10px; padding: 14px 0 20px; }
  .footer__logo img { height: 66px; }
  .footer__bottom { gap: 10px; }
  .footer__bottom nav { gap: 10px 16px; font-size: 11px; }
}

/* =========================================================
   HEADER FINAL — ONLINE PAGE STANDARD
========================================================= */
.header {
  height: 112px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(234,223,216,.55);
}
.header__inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  width: min(96%,1000px);
  height: 112px;
  margin-inline: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  width: auto;
  height: 110px;
  max-width: 180px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 15px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(155,63,92,.17);
  border-radius: 999px;
}
.nav a::after { display: none; }
.nav a:hover,
.nav a:focus-visible {
  color: var(--wine);
  background: #fff8f5;
  border-color: rgba(155,63,92,.42);
}
.nav a.is-current {
  color: #fff;
  background: linear-gradient(100deg,#7f304a,#9b3f5c);
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(155,63,92,.17), inset 0 1px 0 rgba(255,255,255,.25);
}

@media (max-width: 700px) {
  .header { height: 66px; }
  .header__inner {
    display: flex;
    width: 100%;
    height: 66px;
    min-height: 66px;
    padding: 0 12px;
    gap: 12px;
  }
  .logo { flex: 0 0 auto; }
  .logo img {
    width: auto;
    height: 58px;
    max-width: 122px;
    object-fit: contain;
  }
  .nav {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding-right: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .card-footer {
    margin-top: 9px;
    padding-top: 8px;
  }

  .card-footer strong {
    font-size: 13px;
  }

  .card-footer span {
    font-size: 9px;
  }

  .card-weight {
    font-size: 9px;
  }
}

.nav-sp {
  display: none;
}

@media (max-width: 700px) {
  .header__inner {
    padding: 0 12px;
    gap: 12px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    width: 82px;
    height: auto;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 7px;
    overflow: visible;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 10px;
    white-space: nowrap;
  }

  .nav-pc {
    display: none;
  }

  .nav-sp {
    display: inline;
  }
}