:root {
  --color-text: #2f2a29;
  --color-muted: #6f625f;
  --color-line: #ead7d3;
  --color-primary: #d97986;
  --color-primary-dark: #c85f6f;
  --color-primary-soft: #fff0f1;
  --color-bg: #fffaf8;
  --color-band: #fbf4f1;
  --color-card: #ffffff;
  --shadow-card: 0 8px 24px rgba(96, 69, 59, 0.08);
  --font-serif: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --container: 1180px;
}

.site-header *,
.site-footer *,
.page-top {
  box-sizing: border-box;
}

.site-header a,
.site-footer a,
.page-top {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 248, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(100%, var(--container));
  min-height: 82px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand__name {
  font-family: "Cormorant Garamond", var(--font-serif);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.12em;
}

.brand__kana {
  margin-left: 58px;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.3em;
}

.global-nav,
.utility-nav {
  display: flex;
  align-items: center;
}

.header-menu-panel {
  display: contents;
}

.global-nav {
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
  font-size: 15px;
  font-weight: 600;
}

.global-nav a {
  transition: color 0.2s ease;
}

.global-nav a:hover {
  color: rgba(47, 42, 41, 0.58);
}

.utility-nav {
  gap: 24px;
}

.utility-nav__item {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 10px;
  transition: color 0.2s ease;
}

.utility-nav__item:hover {
  color: rgba(47, 42, 41, 0.58);
}

.icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.icon--user::before,
.icon--user::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--color-text);
}

.icon--user::before {
  width: 8px;
  height: 8px;
  top: 1px;
  border-radius: 50%;
}

.icon--user::after {
  width: 18px;
  height: 9px;
  bottom: 2px;
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
}

.icon--cart::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 16px;
  height: 11px;
  border: 2px solid var(--color-text);
  border-top: 0;
  transform: skewX(-8deg);
}

.icon--cart::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text);
  box-shadow: 10px 0 0 var(--color-text);
}

.icon--cart__count {
  position: absolute;
  left: 6px;
  top: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 10px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.menu-button {
  display: none;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-line);
  padding: 32px 32px 18px;
}

.site-footer__inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.site-footer__brand p {
  margin: 18px 0;
  color: var(--color-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-links h2 {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-links a {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 2.1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(111, 98, 95, 0.58);
}

.copyright {
  margin: 28px 0 0;
  color: #998a86;
  font-size: 11px;
  text-align: center;
}

.page-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c5a28f;
  box-shadow: 0 8px 18px rgba(70, 45, 32, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-top:hover {
  background: rgba(197, 162, 143, 0.72);
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: 180px 1fr auto;
    min-height: 74px;
  }

  .brand__name {
    font-size: 32px;
  }

  .brand__kana {
    margin-left: 42px;
  }

  .global-nav {
    gap: 22px;
    font-size: 13px;
  }

  .utility-nav {
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .header-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: rgba(255, 250, 248, 0.98);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 14px 30px rgba(70, 45, 32, 0.12);
  }

  .menu-button {
    width: 44px;
    height: 44px;
    position: relative;
    display: block;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    position: absolute;
    left: 9px;
    top: 50%;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease;
  }

  .menu-button span:first-child {
    transform: translateY(-5px);
  }

  .menu-button span:last-child {
    transform: translateY(5px);
  }

  .site-header.is-open .menu-button span:first-child {
    transform: rotate(45deg);
  }

  .site-header.is-open .menu-button span:last-child {
    transform: rotate(-45deg);
  }

  .global-nav,
  .utility-nav {
    display: flex;
    background: transparent;
  }

  .global-nav {
    padding: 20px;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-line);
  }

  .global-nav a {
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid var(--color-line);
  }

  .utility-nav {
    padding: 14px 20px 20px;
    justify-content: center;
  }

  .site-header.is-open .header-menu-panel {
    display: flex;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-inline: 20px;
  }

  .footer-links {
    column-gap: 18px;
    row-gap: 22px;
  }

  .footer-links a {
    overflow-wrap: anywhere;
    line-height: 2;
  }

  .page-top {
    right: 18px;
    bottom: 18px;
  }
}

/* ******************************
 * .sp-only, .pc-only
 ****************************** */
.sp-only {
  display: none;
}
.pc-only {
  display: inline;
}
@media (max-width: 560px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* ******************************
 * .nowrap
 ****************************** */
.nowrap {
  white-space: nowrap;
}

