:root {
  --page-width: min(100%, 450px);
  --header-height: 64px;
  --side-width: calc((100vw - 450px) / 2);
}

body {
  background: #fff;
}

#wrapper {
  background: none;
  overflow: clip;
  isolation: isolate;
}

#article {
  position: relative;
  z-index: 1;
  width: var(--page-width);
  max-width: 450px;
  padding-top: var(--header-height);
}

#header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--page-width);
  max-width: 450px;
  height: var(--header-height);
  box-shadow: none;
  overflow: visible;
}

.header-logo {
  display: block;
  width: 184px;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#article .c-mv .lang {
  top: min(4vw, 18px);
  right: min(4vw, 18px);
}

.side-background {
  display: none;
  z-index: 0;
}

@media (orientation: landscape) and (min-width: 800px) {
  .side-background {
    display: block;
    position: fixed;
    top: 0;
    width: var(--side-width);
    height: 100vh;
  }

  .side-background--left {
    left: 0;
  }

  .side-scene {
    position: relative;
    width: min(100%, 433px, 61.85vh);
    aspect-ratio: 433 / 700;
    margin-inline: auto;
    container-type: inline-size;
  }

  .background-logo {
    position: absolute;
    left: 7.16%;
    top: 3.76%;
    width: 42.73%;
  }

  .background-logo img {
    width: 100%;
  }

  .background-bottle {
    position: absolute;
    left: 29.43%;
    top: 23.43%;
    width: 45.29%;
  }

  .side-scene::before {
    content: "";
    position: absolute;
    left: 34%;
    top: 84.5%;
    width: 36%;
    height: 2%;
    border-radius: 50%;
    background: #591d2540;
    filter: blur(6px);
  }

  .bottle-capacity {
    position: absolute;
    left: 70.2%;
    top: 72%;
    width: 16%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 4px double #591d25;
    border-radius: 50%;
    color: #591d25;
    font: 4cqw "Noto Serif JP", serif;
  }

  .background-partners {
    position: absolute;
    left: 7.16%;
    top: 88.57%;
    width: 84.3%;
  }

  .side-background--right {
    right: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .side-background--right img {
    position: absolute;
    top: min(13.8vw, 189px);
    left: -69.28%;
    width: 230.95%;
    max-width: none;
    mask-image: linear-gradient(to bottom, transparent, #000 23%);
  }
}

#article .recipe-box {
  margin-top: 80px;
  padding-inline: 10px;
}

#article .recipe-box .menu-headline {
  color: #fff;
  font: 500 16px "Kiwi Maru", serif;
  text-align: center;
}

#article .recipe-box .menu-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 10px auto 0;
  background: #fff;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 20px;
  margin-top: 30px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
  text-align: center;
}

.recipe-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 22 / 15;
  object-fit: cover;
  border-radius: 20px;
}

.recipe-card h3 {
  flex-grow: 1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
}

.recipe-link {
  align-self: flex-end;
  position: relative;
  margin-top: 10px;
  padding: 0 10px 5px 0;
  border-bottom: 1px solid transparent;
  font-size: 12px;
}

html[lang="en"] .recipe-link {
  font-family: "Kiwi Maru", serif;
  font-weight: 500;
}

.recipe-link::before,
.recipe-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  border-top: 1px solid currentColor;
  transition: transform .3s ease;
}

.recipe-link::before {
  left: 0;
  right: 0;
  transform: translateX(var(--recipe-arrow-offset, 0px));
}

.recipe-link::after {
  right: 0;
  width: 10px;
  transform: translateX(var(--recipe-arrow-offset, 0px)) rotate(35deg);
  transform-origin: right;
}

.recipe-card:focus-visible {
  --recipe-arrow-offset: 10px;
}

@media (hover: hover) {
  .recipe-card:hover {
    --recipe-arrow-offset: 10px;
  }
}

.cart-icon {
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 auto;
  fill: none;
  stroke: #591d25;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#article .c-box02 .btn a {
  flex-flow: row nowrap;
  gap: .1em;
  width: min(60vw, 270px);
  height: min(15.2vw, 68.4px);
  border: min(.8vw, 3.6px) solid #fff;
  border-radius: 999px;
  color: #e60013;
  font-size: min(4.8vw, 21.6px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .03em;
}

#article .c-box02 .btn .purchase-cart {
  width: 1.784em;
  height: 1.784em;
  flex: 0 0 auto;
}

#article .c-box02 .btn .purchase-label {
  text-align: center;
}

#article .c-box02 .btn a .btn_note {
  display: block;
  margin-top: 3px;
  color: #591d25;
  font-size: min(2.8vw, 12.6px);
  font-weight: 500;
  letter-spacing: 0;
}

#article .side-btn {
  position: fixed;
  z-index: 1002;
  top: auto;
  bottom: 0;
  left: 50%;
  right: auto;
  width: min(100%, 450px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 110%);
  transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .25s, visibility 0s .36s;
}

#article .side-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

#article .side-btn.is-at-footer {
  transition: none;
}

#article .side-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  width: 100%;
  height: auto;
  min-height: clamp(58px, 16vw, 80px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border: 3px solid #fff;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #fedc56;
  color: #f00;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

#article .side-btn small {
  display: block;
  color: #591d25;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

#article .c-box02 .btn a:focus-visible,
#article .c-box02 .btn a:active,
#article .side-btn a:focus-visible,
#article .side-btn a:active {
  background: #fff;
  border-color: #fedc56;
}

@media (hover: hover) {
  #article .c-box02 .btn a:hover,
  #article .side-btn a:hover {
    background: #fff;
    border-color: #fedc56;
  }
}

#footer {
  z-index: auto;
}

#footer .pagetop {
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 1003;
}

#article .side-btn.is-visible ~ #footer .pagetop {
  bottom: calc(clamp(58px, 16vw, 80px) - 10px + env(safe-area-inset-bottom, 0px));
}

#footer .footerNote__list {
  padding-top: 3.5rem;
}

a:focus-visible {
  outline: 3px solid #a64119;
  outline-offset: 4px;
}

.recipe-card:focus-visible {
  outline-color: #fedc56;
}

@media (max-width: 449.999px) {
  #article .recipe-box {
    margin-top: 16vw;
    padding-inline: 2vw;
  }

  #article .recipe-box .menu-headline {
    font-size: 3.2vw;
  }

  .recipe-grid {
    gap: 8.8vw 4vw;
    margin-top: 6vw;
  }

  .recipe-card > img {
    border-radius: 4vw;
  }

  .recipe-card h3 {
    font-size: max(11px, 2.4vw);
    margin-top: 2.4vw;
  }

  .recipe-link {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #article .side-btn {
    transition: none;
  }

  .recipe-link::before,
  .recipe-link::after {
    transition: none;
  }

  a {
    transition: none !important;
  }
}

/* Brand revision: 2026-10-22 */
#header {
  background: #f5f3ee;
}

#article .c-mv,
#article .c-mv > .img {
  width: 100%;
  margin: 0;
  padding: 0;
}

#article .c-mv > .img > img {
  display: block;
  width: 100%;
  height: auto;
}

/* The Japanese source has an 18px transparent right edge and a 14px bottom edge. */
html[lang="ja"] #article .c-mv > .img {
  aspect-ratio: 1000 / 1337;
  overflow: hidden;
}

html[lang="ja"] #article .c-mv > .img > img {
  width: 101.8%;
  max-width: none;
}

#footer .footerNote__list {
  background: #f5f3ee;
}

#footer .footerNote__copy {
  background: #fff;
}

@media (orientation: landscape) and (min-width: 800px) {
  .background-logo {
    width: 64.2%;
  }

  .background-logo img {
    display: block;
    height: auto;
  }
}

/* Revision: 2026-10-28. Align the brown section with the header edges. */
#article .c-box02 {
  width: 100%;
  margin-inline: 0;
  padding-inline: 10px;
}

@media (max-width: 449.999px) {
  #article .c-box02 {
    padding-inline: 2vw;
  }
}

@media (orientation: landscape) and (min-width: 800px) {
  .background-partners {
    display: block;
    left: 50%;
    width: 84.3%;
    height: auto;
    transform: translateX(-50%);
  }
}
