:root {
  --ink: #342d2f;
  --muted: #6f6265;
  --line: #eadedd;
  --paper: #fffaf8;
  --rose: #d86b8d;
  --gold: #b9913f;
  --green: #638f78;
  --teal: #4e9aa2;
  --lavender: #9066ac;
  --blue: #6f78b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdfb;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
}

body.tool-open {
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 116px 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(234, 222, 221, .8);
  background: rgba(255, 253, 251, .94);
  backdrop-filter: blur(10px);
}

.brand {
  flex: 0 1 auto;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
  max-width: calc(100vw - 126px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.mobile-tools {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 80;
  display: flex;
  gap: 8px;
}

.site-search,
.site-menu {
  position: relative;
}

.icon-button {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 107, 141, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(52, 45, 47, .14);
  cursor: pointer;
}

.search-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid var(--rose);
  border-radius: 999px;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--rose);
  transform: rotate(45deg);
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose);
}

.tool-panel {
  position: absolute;
  top: 54px;
  right: 0;
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 36px rgba(52, 45, 47, .18);
}

.tool-panel.is-open {
  display: block;
}

.search-panel {
  width: min(380px, calc(100vw - 20px));
  padding: 14px;
}

.search-panel label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.search-panel input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.search-results {
  display: grid;
  gap: 8px;
  max-height: min(54vh, 420px);
  margin-top: 10px;
  overflow: auto;
}

.search-results p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.search-results a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
}

.search-results strong,
.search-results span {
  display: block;
}

.search-results span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.menu-panel {
  width: min(260px, calc(100vw - 20px));
  padding: 8px;
}

.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.menu-panel a + a {
  border-top: 1px solid var(--line);
}

.menu-panel a:hover,
.menu-panel a:focus {
  background: var(--paper);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  display: grid;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
}

.hero-title {
  display: grid;
  gap: 10px;
}

.shop-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-owner {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  max-width: 16em;
  font-size: clamp(24px, 6vw, 34px);
}

h2 {
  font-size: clamp(26px, 7vw, 42px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 40em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cta-row.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--rose);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--rose);
}

.button.secondary {
  color: var(--rose);
  background: #fff;
}

.hero-visual {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fff4f0);
}

.product-page-hero {
  display: grid;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-page-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-page-images img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.info-image-section {
  padding-top: 0;
}

.shared-bottom {
  padding-top: 20px;
}

.footer-brand {
  font-weight: 700;
  text-decoration: none;
}

.hero-visual img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.hero-visual-cropped {
  background: #fff;
}

.hero-visual-cropped img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.text-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.about-summary {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-summary p {
  margin: 0;
  color: var(--muted);
}

.mini-link-grid {
  display: grid;
  gap: 10px;
}

.mini-link-grid a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.page-article {
  max-width: 900px;
}

.text-panel p {
  margin: 0;
}

.text-panel p + p {
  margin-top: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card-image {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 18px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.card-body {
  padding: 18px;
}

.product-en {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.card-body p:not(.product-en) {
  margin: 10px 0 0;
  color: var(--muted);
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}

.prices span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, #fff);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.guide-list {
  display: grid;
  gap: 10px;
}

.guide-item {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.guide-item span {
  color: var(--muted);
  font-size: 14px;
}

.details-list {
  display: grid;
  gap: 28px;
}

.detail-block {
  display: grid;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.detail-images figure {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.detail-images img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.detail-images figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.info-image {
  grid-column: 1 / -1;
}

.short {
  color: var(--accent);
  font-weight: 700;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.meta-list div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.meta-list dd {
  margin: 0;
}

.info-copy {
  padding: 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.info-copy p {
  margin: 0;
}

.info-copy p + p {
  margin-top: 8px;
}

.detail-footer {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.recipe-list {
  display: grid;
  gap: 10px;
}

.recipe {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.recipe summary {
  display: grid;
  gap: 4px;
  cursor: pointer;
  padding: 16px;
}

.recipe summary::marker {
  color: var(--rose);
}

.recipe summary span {
  font-weight: 700;
}

.recipe summary strong {
  color: var(--muted);
  font-size: 13px;
}

.recipe-body {
  padding: 0 16px 16px;
  color: var(--muted);
}

.recipe-body p {
  margin: 8px 0 0;
}

.notice {
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.rich-text ul {
  margin: 16px 0 0;
  padding-left: 1.4em;
}

.rich-text li + li {
  margin-top: 6px;
}

.related-links {
  width: min(1120px, calc(100% - 32px));
}

.link-card-grid {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.link-card span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
}

.link-card strong {
  font-size: 16px;
  line-height: 1.5;
}

.profile-section {
  width: min(1120px, calc(100% - 32px));
}

.profile-box {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.profile-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.profile-box p {
  margin: 0;
  color: var(--muted);
}

.profile-links {
  display: grid;
  gap: 8px;
}

.profile-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.buy {
  width: min(1120px, calc(100% - 24px));
}

.buy-inner {
  padding: 32px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3f5, #fffaf0 52%, #eef7f4);
  text-align: center;
}

.price-strip {
  display: grid;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 620px;
}

.price-strip span {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.footer {
  padding: 28px 16px 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.sticky-shop-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  display: grid;
  gap: 2px;
  width: min(360px, calc(100% - 28px));
  padding: 13px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), #b84d76);
  box-shadow: 0 16px 40px rgba(65, 39, 49, .22);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.sticky-shop-banner span {
  font-size: 12px;
  font-weight: 700;
}

.sticky-shop-banner strong {
  font-size: 16px;
  letter-spacing: 0;
}

@media (min-width: 720px) {
  .site-header {
    padding-right: 140px;
  }

  .nav {
    display: flex;
  }

  .mobile-tools {
    top: 18px;
    right: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .hero-title {
    grid-column: 1 / -1;
  }

  .hero-copy {
    order: 3;
  }

  .hero-visual {
    order: 2;
    padding: 10px;
  }

  .product-page-hero {
    grid-template-columns: .9fr 1.1fr;
    padding: 28px;
  }

  .hero-visual img {
    max-height: 420px;
  }

  .hero-visual-cropped img {
    aspect-ratio: 16 / 7;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-block {
    grid-template-columns: .9fr 1.1fr;
    padding: 28px;
  }

  .detail-footer {
    grid-template-columns: 1fr auto;
  }

  .price-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-box {
    grid-template-columns: 1.4fr .8fr;
    align-items: center;
  }

  .mini-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
