@charset "UTF-8";
:root {
  --page-width: 390px;
  --color-bg: #d7fcf1;
  --color-sky: #d7fcf1;
  --color-page: #ffffff;
  /* Surface / Card */
  --color-surface: #f2efde; /* 優惠卡片米白底 */
  --color-surface-soft: #f8f5e9; /* 更淺的內容底色 */
  --color-line: #22a59c; /* 卡片框線 */
  /* Brand / Primary */
  --color-primary: #1cada4; /* 玉山 Wallet 主綠 */
  --color-primary-dark: #087f79; /* 深綠文字 / 強調 */
  --color-primary-soft: #b3e7d9; /* 淺綠輔助色 */
  /* Accent */
  --color-accent: #ec6329; /* Gomaji 橘 / 金額重點 */
  --color-accent-yellow: #ffb200; /* 100%、CTA 黃色 */
  --color-accent-soft: #f4d7b7; /* 淡橘輔助色 */
  /* Text */
  --color-text: #232815; /* 一般深色文字 */
  --color-text-brown: #3f260e; /* 一般文字 */
  --color-text-primary: #087f79; /* 綠色標題文字 */
  --color-muted: #63584d; /* 次要說明文字 */
  --color-text-inverse: #ffffff; /* 深色底上的白字 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-page: 0 12px 40px rgba(31, 41, 51, 0.14);
  --desktop-header-height: 4.375rem;
  --footer-height: 3.75rem;
  --desktop-side-rail-width: 15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.55;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-layout {
  min-height: 100vh;
}

.desktop-panel {
  display: none;
}
.desktop-content-shell {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-page);
  box-shadow: var(--shadow-page);
}
.desktop-side-rail {
  display: none;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--color-page);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.section {
  padding: 1rem 0.5rem;
  scroll-margin-top: 16px;
  position: relative;
  background-color: var(--color-sky);
}
.section:first-of-type {
  border-top: 0;
}
.section--grass-bg {
  background: url("../images/bg_grass.jpg") repeat;
}
.section__header {
  margin-bottom: 22px;
  text-align: center;
}
.section__title {
  font-size: 1.55rem;
  line-height: 1.3;
}
.section__note {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px dashed #9da7b1;
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: linear-gradient(135deg, transparent 48%, rgba(104, 115, 125, 0.11) 49%, rgba(104, 115, 125, 0.11) 51%, transparent 52%), var(--color-surface-strong);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-accent);
  font-weight: 800;
  text-align: center;
}
.button:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: 3px;
}

summary:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: 3px;
}

/* 8. Floating top */
.top-button {
  position: fixed;
  right: max(14px, (100vw - var(--page-width)) / 2 + 14px);
  bottom: 10rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(31, 41, 51, 0.9);
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.28);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.top-button--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.top-button:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: 3px;
}

.text-outline {
  --text-outline-color: var(--color-primary);
  text-shadow: 4px 0 0 var(--text-outline-color), 2.83px 2.83px 0 var(--text-outline-color), 0 4px 0 var(--text-outline-color), -2.83px 2.83px 0 var(--text-outline-color), -4px 0 0 var(--text-outline-color), -2.83px -2.83px 0 var(--text-outline-color), 0 -4px 0 var(--text-outline-color), 2.83px -2.83px 0 var(--text-outline-color);
}

/* 1. Hero */
.hero {
  position: relative;
  min-height: 500px;
  padding: 24px 20px 34px;
  overflow: hidden;
  background-color: var(--color-sky);
  background-image: url("../images/hero_bg2.png");
  background-size: cover;
  background-position: center bottom;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__logos {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 1px;
  margin-bottom: 1rem;
  justify-content: center;
}
.hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo img {
  height: 2rem;
}
.hero .hero__logo--gomaji {
  position: relative;
  left: 1rem;
}
.hero__date {
  display: table;
  margin: 0 auto 16px;
  color: var(--color-primary-dark);
  font-size: 1.2rem;
  font-weight: 800;
}
.hero__title {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
}
.hero__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 16px);
  width: 100%;
}
.hero__title-image {
  display: block;
  height: auto;
  max-width: 100%;
}
.hero__title-image--esun {
  width: min(100%, 300px);
}
.hero__title-image--maji, .hero__title-image--text {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  height: 4rem;
}
.hero__offer-titles {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}
.hero__offer-title-image {
  display: block;
  width: min(100%, 330px);
  height: auto;
}
.hero__payment-note {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 28px;
  padding: 10px 16px;
  border: 2px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}
.hero__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 2vw, 12px);
  min-height: 250px;
}
.hero__visual-image {
  --hero-visual-x: 0;
  --hero-visual-y: 0;
  --hero-visual-scale: 1;
  --hero-visual-hop-distance: -14px;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 33.333%;
  max-height: 300px;
  -o-object-fit: contain;
     object-fit: contain;
  transform: translate(calc(var(--hero-visual-x) * 1px), calc(var(--hero-visual-y) * 1px)) scale(var(--hero-visual-scale));
  transform-origin: center bottom;
  animation: heroVisualHop 1.7s cubic-bezier(0.68, -0.6, 0.32, 1.6) infinite;
}
.hero__visual-image--glass {
  --hero-visual-x: -15;
  --hero-visual-y: 0;
  --hero-visual-scale: 1.2;
  animation-delay: -0.55s;
}
.hero__visual-image--bag {
  --hero-visual-x: -15;
  --hero-visual-y: 10;
  --hero-visual-scale: 0.8;
  animation-delay: -1.1s;
}
.hero__visual-image--mid {
  --hero-visual-x: 10;
  --hero-visual-y: 0;
  --hero-visual-scale: 1.1;
  animation-delay: 0s;
}

@keyframes heroVisualHop {
  0%, 56%, 100% {
    transform: translate(calc(var(--hero-visual-x) * 1px), calc(var(--hero-visual-y) * 1px)) scale(var(--hero-visual-scale));
  }
  28% {
    transform: translate(calc(var(--hero-visual-x) * 1px), calc(var(--hero-visual-y) * 1px + var(--hero-visual-hop-distance))) scale(var(--hero-visual-scale));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual-image {
    animation: none;
  }
}
.welcome-title {
  position: relative;
  bottom: -1rem;
  width: 14rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  border-radius: 10rem;
  background-color: var(--color-accent);
  z-index: 3;
}

.welcome-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 7.5rem;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-surface-soft) 82%, transparent);
  z-index: 2;
}
.welcome-card__copy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}
.welcome-card__benefit {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.35rem;
}
.welcome-card__benefit span {
  color: var(--color-accent);
  font-size: 2rem;
  font-weight: 900;
}
.welcome-card .invite-code {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0;
  color: var(--color-accent);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.welcome-card::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  width: 7rem;
  height: 7rem;
  background-image: url("../images/maji_gift.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.grass-row {
  position: absolute;
  right: 0;
  top: -3rem;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}
.grass-row .grass-image {
  display: block;
  width: 7rem;
  height: auto;
}
.grass-row .grass-image--left {
  margin-left: -1.5rem;
}
.grass-row .grass-image--right {
  margin-right: -1.5rem;
}

/* 3. Offers */
.offer-list {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 16px;
  justify-items: stretch;
  margin-bottom: 1.5rem;
}
.offer-list--reveal-ready .offer-card {
  opacity: var(--offer-card-progress, 0);
  transform: translateY(var(--offer-card-y, 24px));
  pointer-events: none;
  will-change: opacity, transform;
}
.offer-list--reveal-ready .offer-card--visible {
  pointer-events: auto;
}

.road {
  --road-progress: 0;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(100%, 390px);
  height: 100%;
  pointer-events: none;
  transform: translateX(-50%);
}
.road path {
  stroke-dasharray: var(--road-length, 0);
  stroke-dashoffset: calc(var(--road-length, 0) * (1 - var(--road-progress)));
}

.offer-card {
  --offer-card-progress: 1;
  position: relative;
  z-index: 1;
  display: grid;
  width: 280px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-page) 70%, transparent);
}
.offer-card:first-child {
  justify-self: center;
}
.offer-card:nth-child(even) {
  justify-self: start;
}
.offer-card:nth-child(odd):not(:first-child) {
  justify-self: end;
}
.offer-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background-color: var(--color-primary);
}
.offer-card__title {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  transform: translateY(-0.8rem);
}
.offer-card__title--logo-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.offer-card__title img {
  display: block;
  width: auto;
  height: 2.5rem;
  padding: 2px 6px;
  filter: drop-shadow(2px 2px var(--color-primary)) drop-shadow(2px -2px var(--color-primary)) drop-shadow(-2px 2px var(--color-primary)) drop-shadow(-2px -2px var(--color-primary));
}
.offer-card__visual {
  min-height: 150px;
  margin: 14px 14px 0;
}
.offer-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px 17px;
  text-align: center;
}
.offer-card__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  font-size: 0.75rem;
  font-weight: 900;
}
.offer-card__payment {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}
.offer-card__brand {
  color: var(--color-primary-dark);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.offer-card__discount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  margin: 0;
  font-size: clamp(1.28rem, 5.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
}
.offer-card__price {
  color: var(--color-accent);
  font-size: clamp(2.15rem, 8vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
.offer-card__description {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--color-text-brown);
  font-size: 1rem;
  text-align: left;
}
.offer-card__description-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.offer-card__description-image {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: auto;
}
.offer-card__highlight {
  display: block;
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 800;
}
.offer-card__limit {
  margin: 0;
  font-weight: 300;
  color: var(--color-muted);
}
.offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 36px;
  margin-top: 5px;
  padding: 5px 18px;
  border-radius: 999px;
  background-color: var(--color-accent-yellow);
  color: var(--color-text-inverse);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 0 #7d4c00;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.offer-card__cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #7d4c00;
}
.offer-card__cta:focus-visible {
  outline: 3px solid rgba(255, 178, 0, 0.35);
  outline: 3px solid color-mix(in srgb, var(--color-accent-yellow) 35%, transparent);
  outline-offset: 3px;
}
.offer-card__arrow {
  margin-left: 0.35rem;
  font-size: 1.2em;
  line-height: 0;
}

/* 4. More bonus */
.bonus-box__header {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-inverse);
}

.bonus-box {
  position: relative;
  padding: 1rem;
  text-align: center;
  z-index: 2;
}
.bonus-box__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--color-primary-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bonus-box__cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--color-primary-dark);
}
.bonus-box__cta:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline: 3px solid color-mix(in srgb, var(--color-primary-dark) 35%, transparent);
  outline-offset: 3px;
}
.bonus-box__visual {
  min-height: 180px;
  margin-bottom: 18px;
}

.Bgrass-row {
  position: absolute;
  left: 50%;
  bottom: -3rem;
  display: flex;
  justify-content: center;
  width: 130%;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 1;
}
.Bgrass-row .grass-image {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. Products */
.products-section {
  background-color: var(--color-sky);
}

#products-title {
  color: var(--color-primary-dark);
}

.product-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  z-index: 2;
  margin-bottom: 2remｚ;
}
.product-list .product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-page);
}
.product-list .product-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.product-list .product-card__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
}
.product-list .product-card__visual-link {
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.product-list .product-card__visual-link:hover img, .product-list .product-card__visual-link:focus-visible img, .product-list .product-card__visual-link:active img {
  transform: scale(2);
}
.product-list .product-card__visual-link:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: -3px;
}
.product-list .product-card__title {
  margin: 0;
  padding: 0.5rem;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  color: var(--color-text-inverse);
  background-color: var(--color-primary);
}

/* 6. Rules */
.rule-list {
  display: grid;
  gap: 10px;
}

.rule-title {
  color: var(--color-primary-dark);
}

.rule-item {
  scroll-margin-top: calc(var(--desktop-header-height) + 16px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-page);
}
.rule-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1.2rem;
}
.rule-item summary::-webkit-details-marker {
  display: none;
}
.rule-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
}
.rule-item[open] summary::after {
  content: "−";
}
.rule-item--closing summary::after {
  content: "+";
}
.rule-item__content {
  overflow: hidden;
  height: auto;
  padding: 0 16px 16px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: height 0.32s ease, opacity 0.24s ease, transform 0.24s ease;
}
.rule-item__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.rule-item__content .wire-lines {
  position: relative;
  left: -1rem;
  display: grid;
  gap: 8px;
  padding: 16px 0.5rem;
}
.rule-item__content .wire-lines > img,
.rule-item__content .wire-lines > .rule-image-trigger {
  width: calc(100% - 1rem);
  max-width: calc(100% - 1rem);
  margin-left: 1rem;
  margin-right: 0;
}
.rule-item__content .wire-lines a {
  color: var(--color-accent);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .rule-item .rule-item__content {
    transition: none;
  }
}
.rule-image-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.rule-image-trigger img {
  margin: 14px auto;
}
.rule-image-trigger:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: 4px;
}

.image-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.image-popup[hidden] {
  display: none;
}

.image-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: zoom-out;
}

.image-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: calc(100vh - 40px);
  max-height: calc(100svh - 40px);
}

.image-popup__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 40px);
  max-height: calc(100svh - 40px);
  -o-object-fit: contain;
     object-fit: contain;
}

.image-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid var(--color-text-inverse);
  border-radius: 50%;
  color: var(--color-text-inverse);
  background: var(--color-accent);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.wire-line {
  height: 10px;
  border-radius: 999px;
  background: var(--color-surface-strong);
}
.wire-line:nth-child(2) {
  width: 88%;
}
.wire-line:nth-child(3) {
  width: 72%;
}

/* Desktop presentation shell: sticky brand panel + fixed mobile content rail */
@media (min-width: 1100px) {
  .site-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    padding-top: var(--desktop-header-height);
  }
  .desktop-panel,
  .desktop-side-rail {
    background: var(--color-sky);
    background-image: url("../images/BG_pc.svg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  .desktop-panel {
    --desktop-panel-padding: clamp(1rem, 3svh, 1.5rem);
    --desktop-content-min-scale: 0.62;
    --desktop-content-scale: 1;
    position: static;
    display: block;
    min-width: 0;
  }
  .desktop-panel__sticky {
    position: sticky;
    top: var(--desktop-header-height);
    display: grid;
    place-items: center;
    height: calc(100vh - var(--desktop-header-height) - var(--footer-height));
    height: calc(100svh - var(--desktop-header-height) - var(--footer-height));
    padding: var(--desktop-panel-padding);
    overflow: hidden;
  }
  .desktop-panel__content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: clamp(1rem, 2vh, 2rem);
    width: min(100%, 760px);
    text-align: center;
    transform: scale(var(--desktop-content-scale));
    transform-origin: center;
    overflow: hidden;
  }
  .desktop-panel__image {
    --desktop-image-x: 0px;
    --desktop-image-y: 0px;
    --desktop-image-scale: 1;
    display: block;
    transform: translate(var(--desktop-image-x), var(--desktop-image-y)) scale(var(--desktop-image-scale));
    transform-origin: center;
  }
  .desktop-panel__logos {
    display: grid;
    grid-template-columns: minmax(0, 170px) auto minmax(0, 150px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .desktop-panel__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    color: var(--color-primary-dark);
    font-weight: 800;
  }
  .desktop-panel__logo-image {
    width: var(--desktop-logo-width, 150px);
    height: auto;
    max-width: 100%;
  }
  .desktop-panel__logo-image--gomaji {
    --desktop-logo-width: 6rem;
    position: relative;
    left: 1rem;
  }
  .desktop-panel__logo-image--esun {
    --desktop-logo-width: 8rem;
  }
  .desktop-panel__date {
    display: table;
    margin: 0 auto 16px;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    font-weight: 800;
  }
  .desktop-panel__title {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
  }
  .desktop-panel__title-row {
    --desktop-title-row-image-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.4vw, 16px);
    width: 100%;
  }
  .desktop-panel__title-row .desktop-panel__title-image {
    width: auto;
    height: var(--desktop-title-row-image-height);
    max-width: min(45%, 220px);
    -o-object-fit: contain;
       object-fit: contain;
  }
  .desktop-panel__title-image {
    width: var(--desktop-title-width, min(100%, 320px));
    height: auto;
    max-width: 100%;
  }
  .desktop-panel__title-image--esun {
    --desktop-title-width: min(100%, 340px);
  }
  .desktop-panel__title-image--maji {
    --desktop-title-width: auto;
  }
  .desktop-panel__title-image--text {
    --desktop-title-width: auto;
  }
  .desktop-panel__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 40rem);
    margin: 0 auto;
  }
  .desktop-panel__visual {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    margin-top: clamp(1rem, 2vh, 2rem);
  }
  .desktop-panel__visual-image {
    display: flex;
    animation: desktopPanelVisualHop 1.7s cubic-bezier(0.68, -0.6, 0.32, 1.6) infinite;
  }
  .desktop-panel__visual-image img {
    max-width: 100%;
  }
  .desktop-panel .visual-image--mid {
    width: 5rem;
    animation-delay: 0s;
  }
  .desktop-panel .visual-image--bag {
    width: 7rem;
    animation-delay: -0.55s;
  }
  .desktop-panel .visual-image--glass {
    width: 7rem;
    animation-delay: -1.1s;
  }
  @keyframes desktopPanelVisualHop {
    0%, 56%, 100% {
      transform: translateY(0);
    }
    28% {
      transform: translateY(-14px);
    }
  }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .desktop-panel__visual-image {
    animation: none;
  }
}
@media (min-width: 1100px) {
  .desktop-panel-card {
    position: relative;
    display: grid;
    overflow: visible;
    min-width: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-page) 70%, transparent);
  }
  .desktop-panel-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 2.6rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background-color: var(--color-primary);
  }
  .desktop-panel-card__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    margin: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    transform: translateY(-0.6rem);
  }
  .desktop-panel-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 104px;
    padding: 10px 12px 12px;
    text-align: center;
  }
  .desktop-panel-card__copy, .desktop-panel-card__limit {
    margin: 0;
  }
  .desktop-panel-card__copy {
    color: var(--color-text);
    font-size: clamp(1.2rem, 1.45vw, 2rem);
    font-weight: 700;
    line-height: 1.12;
  }
  .desktop-panel-card__price {
    color: var(--color-accent);
    font-size: clamp(2.5rem, 2.6vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
  }
  .desktop-panel-card__limit {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.3;
  }
  .desktop-content-shell {
    display: grid;
    grid-template-columns: var(--page-width) var(--desktop-side-rail-width);
    align-items: stretch;
    width: auto;
    margin: 0;
    overflow: visible;
  }
  .desktop-side-rail {
    display: block;
    min-width: 0;
    border-left: 1px solid var(--color-line);
  }
  .desktop-side-rail__sticky {
    position: sticky;
    top: var(--desktop-header-height);
    display: grid;
    align-content: start;
    gap: 12px;
    height: calc(100vh - var(--desktop-header-height) - var(--footer-height));
    height: calc(100svh - var(--desktop-header-height) - var(--footer-height));
    padding: 18px 12px;
  }
  .desktop-side-rail__item {
    min-height: 96px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .page-shell {
    width: var(--page-width);
    background: transparent;
  }
  .top-button {
    right: calc(var(--desktop-side-rail-width) + 14px);
  }
}/*# sourceMappingURL=main.css.map */