/* Mobile home: SUGI CARD app-style surface, aligned with vipc-ards. */
:root {
  --home-bg: #ffffff;
  --home-surface: #ffffff;
  --home-ink: #20283d;
  --home-muted: #697388;
  --home-primary: #4c63d2;
  --home-primary-soft: #eef1ff;
  --home-cta: #d97722;
  --home-border: #e2e7f1;
}

body {
  background: #ffffff;
  color: var(--home-ink);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.m-page {
  background: var(--home-bg);
}

.m-page main {
  display: flex;
  flex-direction: column;
}

.m-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(226, 231, 241, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}

.m-header-top {
  gap: 12px;
}

.m-logo {
  display: block;
  width: 166px;
}

.m-logo img {
  width: 160px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.app-header-order {
  display: none;
}

.app-header-menu {
  border: 0;
  background: transparent;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 999px;
  color: var(--home-ink);
  cursor: pointer;
}

.app-header-menu span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.app-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  min-height: 100dvh;
  overflow-y: auto;
  background: #fff;
  color: #061b3d;
  padding: 22px 22px 34px;
}

body.app-menu-open .app-sticky-cta {
  display: none;
}

.app-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe3ec;
}

.app-menu-head h2 {
  margin: 0;
  color: #0b2b63;
  font-size: 18px;
  font-weight: 800;
}

.app-menu-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f2f3f8;
  color: #0b2b63;
  cursor: pointer;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.app-menu-cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0 24px;
}

.app-menu-cta a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.app-menu-cta-price {
  background: #f26a0a;
  color: #fff;
}

.app-menu-cta-order {
  background: #123777;
  color: #fff;
}

.app-menu-cta-sample {
  border: 1px solid #123777;
  background: #fff;
  color: #061b3d;
}

.app-menu-links h3 {
  margin: 0;
  padding: 19px 0 9px;
  border-bottom: 1px solid #dfe3ec;
  color: #4f5b74;
  font-size: 13px;
  font-weight: 800;
}

.app-menu-links a {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe3ec;
  color: #061b3d;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.app-menu-links a::after {
  content: "›";
  color: #5f6b7d;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.app-menu-phone {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 34px;
  padding: 24px 18px;
  border-radius: 18px;
  background: #f2f2f7;
  color: #0b2b63;
  text-decoration: none;
}

.app-menu-phone svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-menu-phone strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1px;
}

.app-menu-phone small {
  display: block;
  margin-top: 6px;
  color: #2d3655;
  font-size: 13px;
}

/*
  Kept for other mobile pages that may still render an order pill before this
  home-specific stylesheet loads.
*/
.app-header-order {
  display: none;
}

/*
  Older rule shape retained below for cascade compatibility.
*/
.app-header-order.is-unused {
  display: inline-flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(76, 99, 210, .24);
  border-radius: 999px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0 13px;
  text-decoration: none;
  white-space: nowrap;
}

#sugi-notif-wrap.sn-floating {
  display: none;
}

.app-native-home {
  order: 1;
  padding: 31px 18px 24px;
  background: #fff;
}

.app-native-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.app-native-head h1 {
  margin: 0;
  color: #050505;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.app-native-login {
  display: inline-flex;
  min-width: 102px;
  height: 54px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fff;
  color: #ff8424;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .06);
}

.m-business-hero {
  order: 2;
  position: relative;
  min-height: 326px;
  margin: 0 18px;
  padding: 24px 22px 18px;
  overflow: hidden;
  border-radius: 0;
  background: #fff8f1;
  box-shadow: none;
}

.m-business-hero::before {
  display: none;
}

.m-business-hero::after {
  display: none;
}

.m-business-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.m-business-hero h2 {
  margin: 0;
  max-width: 330px;
  color: #050505;
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.42;
}

.m-business-cta {
  display: none;
}

.m-business-cards {
  display: block;
  position: absolute;
  top: 148px;
  left: 50%;
  width: 300px;
  height: 166px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.m-business-card {
  position: absolute;
  width: 166px;
  aspect-ratio: 1.586 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 16px rgba(0, 0, 0, .18);
}

.m-business-card.vip {
  left: 76px;
  top: 48px;
  transform: rotate(8deg);
  z-index: 2;
}

.m-business-card.member {
  left: 34px;
  top: 28px;
  transform: rotate(-7deg);
  z-index: 1;
}

.m-business-card.staff {
  left: 132px;
  top: 8px;
  transform: rotate(15deg);
  z-index: 3;
}

.m-purpose-panel {
  order: 6;
  margin: 28px 16px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.m-purpose-head {
  display: block;
  margin-bottom: 15px;
  padding: 0;
}

.m-purpose-head-icon,
.m-purpose-divider {
  display: none;
}

.m-purpose-head h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 19px;
  font-weight: 800;
}

.m-purpose-head p {
  margin-top: 5px;
  color: var(--home-muted);
  font-size: 12px;
}

.app-category-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 13px;
  background: #e8edf7;
}

.app-category-tabs button {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #657086;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 11px 2px;
}

.app-category-tabs .is-active {
  background: #fff;
  color: var(--home-primary);
  box-shadow: 0 4px 10px rgba(32, 40, 61, .06);
}

.m-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.m-purpose-item {
  min-width: 0;
  padding: 9px 6px 11px;
  border: 1px solid rgba(226, 231, 241, .92);
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
  text-decoration: none;
}

.m-purpose-item img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}

.m-purpose-item span {
  min-height: 30px;
  margin-top: 8px;
  color: #2f3748;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.42;
}

.m-purpose-item[hidden] {
  display: none;
}

.m-campaign-banner {
  order: 3;
  margin: 24px 18px 0;
  padding: 0;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid #ffc799;
  border-radius: 20px;
  background: #f7f8fc;
  box-shadow: none;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0;
  text-decoration: none;
}

.m-campaign-gift {
  align-self: stretch;
  display: grid;
  min-height: 88px;
  place-items: center;
  background: #ff8424;
  color: #fff;
  font-size: 0;
  position: relative;
}

.m-campaign-gift::before {
  content: "¥";
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #ff8424;
  font-size: 26px;
}

.m-campaign-gift::after {
  content: "COUPON";
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
}

.m-campaign-price {
  display: block;
  color: #050505;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.m-campaign-copy {
  display: block;
  margin-top: 6px;
  color: #8d8f97;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.m-campaign-button {
  display: none;
}

.m-campaign-banner > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 16px 14px 16px 20px;
}

.app-reasons {
  order: 4;
  padding: 44px 18px 0;
  background: #fff;
}

.app-reasons h2 {
  margin: 0 0 28px;
  color: #050505;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.app-reason-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.app-reason-item {
  min-width: 0;
  text-align: center;
}

.app-reason-item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.app-reason-item p {
  margin: 15px 0 0;
  color: #9a9ca3;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.app-wallet-gift {
  order: 5;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  margin: 40px 18px 0;
  padding: 18px 16px;
  border: 1px solid #ffd1ad;
  border-radius: 20px;
  background: #fffaf5;
  color: #050505;
  text-decoration: none;
}

.app-wallet-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #ff8424;
  color: #fff;
}

.app-wallet-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-wallet-copy span {
  display: block;
  color: #ff8424;
  font-size: 14px;
  font-weight: 500;
}

.app-wallet-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.app-wallet-arrow {
  color: #8c8f98;
  font-size: 32px;
  line-height: 1;
}

.m-order-flow {
  order: 7;
  margin: 24px 16px 0;
  padding: 19px 12px;
  border: 1px solid var(--home-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: none;
}

.m-order-flow-title,
.m-section-title {
  color: var(--home-ink);
  font-size: 18px;
  font-weight: 800;
}

.m-flow-step {
  border-radius: 12px;
  background: #f6f8fc;
  box-shadow: none;
}

.m-section {
  order: 8;
  padding: 24px 16px 0;
}

.app-case-section {
  padding-top: 38px;
}

.app-case-section .m-section-title-row {
  margin-bottom: 18px;
}

.app-case-section .m-section-title {
  color: #050505;
  font-size: 23px;
  font-weight: 800;
}

.m-case-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.m-case-row::-webkit-scrollbar {
  display: none;
}

.m-case-item {
  flex: 0 0 72%;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #f1f2f6;
  color: #050505;
  box-shadow: none;
  text-decoration: none;
  scroll-snap-align: start;
}

.m-case-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.m-case-body {
  padding: 18px 15px 17px;
}

.m-case-body h3 {
  margin: 0;
  color: #050505;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.m-case-tag {
  margin: 12px 0 0;
  color: #ff8424;
  font-size: 17px;
  font-weight: 500;
}

.m-case-summary {
  display: -webkit-box;
  min-height: 82px;
  margin: 16px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #8d8f97;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.m-case-date {
  margin: 24px 0 0;
  color: #9a9ca3;
  font-size: 15px;
  font-weight: 500;
}

.app-order-manage {
  order: 9;
  margin: 34px 18px 0;
  padding: 28px 22px 25px;
  border-radius: 22px;
  background: #f1f2f6;
  text-align: center;
}

.app-order-manage h2 {
  margin: 0;
  color: #050505;
  font-size: 21px;
  font-weight: 800;
}

.app-order-manage p {
  margin: 22px 0 0;
  color: #8d8f97;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.app-order-login {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 0 34px;
  border-radius: 999px;
  background: #ff8424;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.app-order-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 24px;
}

.app-order-links a {
  color: #ff8424;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.app-footer-contact {
  order: 10;
  margin-top: 44px;
  padding: 22px 16px 34px;
  background: #f3f3f8;
}

.app-footer-contact h2 {
  margin: 0;
  color: #0b2b63;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
}

.app-footer-contact > p {
  margin: 17px 0 0;
  color: #2d3655;
  font-size: 15px;
  line-height: 1.65;
}

.app-footer-contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.app-footer-contact-card {
  display: grid;
  min-height: 86px;
  grid-template-columns: 56px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid #dfe3ec;
  border-radius: 20px;
  background: #fff;
  color: #0b2b63;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(11, 43, 99, .03);
}

.app-footer-contact-card:nth-child(2) {
  grid-template-columns: 56px minmax(0, 1fr);
}

.app-footer-contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: #f0f2f6;
  color: #0b2b63;
}

.app-footer-contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-footer-contact-copy strong {
  display: block;
  color: #0b2b63;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.app-footer-contact-copy small {
  display: block;
  margin-top: 4px;
  color: #2d3655;
  font-size: 13px;
  line-height: 1.4;
}

.app-footer-contact-copy .app-footer-phone {
  font-size: 23px;
  letter-spacing: 1px;
}

.app-footer-contact-arrow {
  color: #1459d9;
  font-size: 28px;
  line-height: 1;
}

.app-footer-closed {
  margin: 18px 0 0 !important;
  text-align: center;
  font-size: 13px !important;
}

.app-site-footer {
  order: 11;
  padding: 36px 16px 96px;
  background: #fff;
  color: #2d3655;
}

.app-footer-logo img {
  width: 128px;
  height: auto;
  display: block;
}

.app-footer-lead {
  margin: 14px 0 34px;
  color: #2d3655;
  font-size: 13px;
  line-height: 1.55;
}

.app-footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
}

.app-footer-nav section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 17px;
}

.app-footer-nav section:nth-child(3) {
  grid-column: 1 / 2;
}

.app-footer-nav h3 {
  margin: 0;
  color: #0b2b63;
  font-size: 14px;
  font-weight: 800;
}

.app-footer-nav a,
.app-footer-legal a {
  color: #2d3655;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.app-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 19px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #dfe3ec;
}

.app-footer-copy {
  margin: 28px 0 0;
  color: #2d3655;
  font-size: 13px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--home-primary);
  outline-offset: 3px;
}

.app-shortcuts a:active,
.m-purpose-item:active,
.m-business-cta:active {
  transform: scale(.98);
}

.app-sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  transform: translateY(calc(100% + 2px));
  transition: transform .2s ease;
  margin: 0 auto;
  max-width: 430px;
  border-top: 1px solid rgba(226, 231, 241, .92);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}

body.has-app-cta .app-sticky-cta {
  transform: translateY(0);
}

.app-sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-sticky-cta a {
  text-decoration: none;
}

.app-sticky-phone,
.app-sticky-sample {
  display: flex;
  height: 48px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: #fff;
  color: var(--home-ink);
  font-size: 10px;
  font-weight: 800;
}

.app-sticky-phone {
  width: 56px;
}

.app-sticky-sample {
  width: 98px;
  border-color: rgba(76, 99, 210, .28);
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.app-sticky-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-sticky-pricing {
  display: flex;
  height: 48px;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  background: var(--home-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(217, 119, 34, .22);
}

@media (max-width: 350px) {
  .app-welcome h2 {
    font-size: 24px;
  }

  .app-header-order {
    padding: 0 10px;
    font-size: 11px;
  }

  .app-sticky-sample {
    width: 90px;
  }

  .app-sticky-pricing {
    font-size: 13px;
  }

  .m-business-hero {
    min-height: 300px;
    padding: 20px 14px;
  }

  .m-business-hero h2 {
    font-size: 24px;
  }

  .m-business-hero::before {
    height: 178px;
  }

  .m-purpose-grid {
    gap: 7px;
  }

  .m-purpose-item {
    padding: 8px 4px 10px;
  }
}

/* Tone down oversized/bold text after the app-style pass. */
.app-menu-head h2,
.app-menu-links h3,
.app-menu-links a,
.app-menu-cta a,
.m-purpose-head h2,
.m-order-flow-title,
.m-section-title,
.app-case-section .m-section-title,
.m-case-body h3,
.app-order-manage h2,
.app-footer-contact h2,
.app-footer-contact-copy strong,
.app-footer-nav h3,
.app-sticky-pricing,
.app-sticky-phone,
.app-sticky-sample {
  font-weight: 700;
}

.m-business-hero h2 {
  font-size: clamp(18px, 4.8vw, 22px);
  font-weight: 500;
}

.app-menu-head h2 {
  font-size: 17px;
}

.app-menu-cta a {
  font-size: 14px;
}

.app-menu-links a {
  min-height: 52px;
  font-size: 15px;
}

.m-purpose-head h2,
.m-order-flow-title,
.m-section-title {
  font-size: 17px;
}

.app-case-section .m-section-title,
.app-footer-contact h2 {
  color: #0b2b63;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.app-reasons h2 {
  font-size: 20px;
  font-weight: 600;
}

.m-case-body h3 {
  font-size: 19px;
}

.m-case-tag {
  font-size: 15px;
}

.m-case-summary,
.app-order-manage p {
  font-size: 14px;
  font-weight: 500;
}

.app-order-manage h2 {
  font-size: 19px;
}

.app-order-login {
  min-height: 48px;
  font-size: 18px;
  font-weight: 500;
}

.app-footer-contact-copy strong {
  font-size: 16px;
}

.app-footer-contact-copy .app-footer-phone,
.app-menu-phone strong {
  font-size: 21px;
  font-weight: 700;
}

/* iOS polish pass for mobile home 2026-10-01 */
:root {
  --home-bg: #f5f5f7;
  --home-surface: rgba(255, 255, 255, .84);
  --home-ink: #111827;
  --home-muted: #6b7280;
  --home-border: rgba(60, 60, 67, .12);
  --home-cta: #ff7a1a;
}

body,
.m-page {
  background: var(--home-bg);
}

.m-header {
  height: 58px;
  border-bottom: 0;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 .5px 0 rgba(60, 60, 67, .18);
}

.m-logo {
  width: 174px;
}

.m-logo img {
  width: 168px;
  max-height: 42px;
}

.m-business-hero,
.m-campaign-banner,
.app-reasons,
.m-purpose-panel,
.m-order-flow,
.app-case-section .m-case-item,
.app-footer-contact-card,
.app-site-footer {
  border-color: var(--home-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.m-business-hero {
  margin-top: 10px;
  border-radius: 0;
  background: linear-gradient(180deg, #fff7ef 0%, #fffaf5 100%);
}

.m-campaign-banner {
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(255, 122, 26, .10);
}

.m-campaign-gift {
  background: linear-gradient(180deg, #ff8b34, #ff7418);
}

.app-reasons,
.m-purpose-panel,
.m-order-flow,
.app-footer-contact {
  background: transparent;
}

.app-category-tabs {
  padding: 4px;
  border: .5px solid rgba(60, 60, 67, .12);
  border-radius: 16px;
  background: rgba(118, 118, 128, .10);
}

.app-category-tabs button {
  border-radius: 13px;
  font-weight: 650;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.app-category-tabs button:active {
  transform: scale(.98);
}

.app-category-tabs .is-active {
  background: rgba(255, 255, 255, .94);
  color: #0d2f6d;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .08);
}

.m-purpose-item {
  border: .5px solid rgba(60, 60, 67, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 16px rgba(15, 23, 42, .045);
}

.m-purpose-item:active,
.app-case-section .m-case-item:active,
.app-footer-contact-card:active {
  transform: scale(.985);
}

.m-order-flow {
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
}

.m-flow-step {
  border: .5px solid rgba(60, 60, 67, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.app-case-section .m-case-item {
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
}

.app-footer-contact-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
}

.app-site-footer {
  background: rgba(255, 255, 255, .72);
}

.app-sticky-cta {
  bottom: max(10px, env(safe-area-inset-bottom));
}

.app-sticky-cta-inner {
  border: .5px solid rgba(60, 60, 67, .16);
  border-radius: 26px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .16);
}

.app-sticky-pricing {
  background: linear-gradient(180deg, #ff852b, #f0640a);
  box-shadow: 0 10px 20px rgba(255, 122, 26, .22);
}

.m-business-hero h2,
.m-section-title,
.app-case-section .m-section-title,
.app-footer-contact h2,
.app-reasons h2 {
  letter-spacing: -.03em;
}

@media (max-width: 350px) {
  .m-logo { width: 152px; }
  .m-logo img { width: 148px; }
}

/* Reasons module: plain white, no shadow */
.app-reasons {
  background: #ffffff !important;
  box-shadow: none !important;
  border: 0 !important;
}

.app-reason-item,
.app-reason-item img {
  background: transparent !important;
  box-shadow: none !important;
}

/* Hero aligns with navigation background */
.m-business-hero {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .74) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  box-shadow: none !important;
}

/* Hero clean centered card layout */
.m-business-hero {
  min-height: 380px !important;
  padding: 30px 22px 22px !important;
}

.m-business-copy {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
}

.m-business-hero h2 {
  max-width: 350px !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.45 !important;
}

.m-business-cards {
  top: 170px !important;
  left: 50% !important;
  width: 292px !important;
  height: 148px !important;
  transform: translateX(-50%) !important;
}

.m-business-card {
  width: 214px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .16) !important;
}

.m-business-card.vip {
  display: none !important;
}

.m-business-card.member {
  left: 8px !important;
  top: 20px !important;
  transform: rotate(-3deg) !important;
  z-index: 1 !important;
}

.m-business-card.staff {
  left: 70px !important;
  top: 0 !important;
  transform: rotate(3deg) !important;
  z-index: 2 !important;
}

@media (max-width: 350px) {
  .m-business-hero {
    min-height: 360px !important;
    padding-top: 26px !important;
  }
  .m-business-cards {
    top: 166px !important;
    width: 268px !important;
  }
  .m-business-card {
    width: 196px !important;
  }
  .m-business-card.staff {
    left: 62px !important;
  }
}

/* Hero horizontal offset final override */
.m-business-cards {
  top: 174px !important;
  width: 306px !important;
  height: 150px !important;
}

.m-business-card.member {
  left: 0 !important;
  top: 34px !important;
  transform: none !important;
}

.m-business-card.staff {
  left: 92px !important;
  top: 0 !important;
  transform: none !important;
}

@media (max-width: 350px) {
  .m-business-cards {
    top: 168px !important;
    width: 282px !important;
  }
  .m-business-card.staff {
    left: 86px !important;
  }
}

/* Hero single card final */
.m-business-cards {
  top: 184px !important;
  width: 250px !important;
  height: 158px !important;
}

.m-business-card.member,
.m-business-card.vip {
  display: none !important;
}

.m-business-card.staff {
  display: block !important;
  left: 50% !important;
  top: 0 !important;
  width: 250px !important;
  transform: translateX(-50%) !important;
  z-index: 2 !important;
}

@media (max-width: 350px) {
  .m-business-cards {
    top: 180px !important;
    width: 230px !important;
  }
  .m-business-card.staff {
    width: 230px !important;
  }
}

/* Swap reasons and coupon order */
.m-campaign-banner {
  order: 4 !important;
}

.app-reasons {
  order: 3 !important;
}

/* Hero member card image override */
.m-business-card.vip,
.m-business-card.staff {
  display: none !important;
}

.m-business-card.member {
  display: block !important;
  left: 50% !important;
  top: 0 !important;
  width: 250px !important;
  transform: translateX(-50%) !important;
  z-index: 2 !important;
}

@media (max-width: 350px) {
  .m-business-card.member {
    width: 230px !important;
  }
}

/* Reasons match hero background */
.app-reasons {
  background: rgba(255, 255, 255, .74) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Coupon compact low radius */
.m-campaign-banner {
  min-height: 78px !important;
  padding: 0 !important;
  border-radius: 3px !important;
  overflow: hidden !important;
}

.m-campaign-gift {
  min-height: 78px !important;
  width: 86px !important;
  border-radius: 0 !important;
}

.m-campaign-banner > span:nth-child(2) {
  padding: 10px 12px !important;
}

.m-campaign-price {
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.m-campaign-copy {
  margin-top: 5px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Hero card low radius */
.m-business-card {
  border-radius: 3px !important;
}

/* Coupon card radius adjustment */
.m-campaign-banner {
  border-radius: 12px !important;
}

.m-business-card {
  border-radius: 12px !important;
}

/* Purpose section full-screen usage cards */
.m-purpose-panel {
  width: 100% !important;
  max-width: 480px !important;
  min-height: 380px !important;
  margin: 0 auto !important;
  padding: 30px 18px 24px !important;
  order: 6 !important;
  background: rgba(255, 255, 255, .74) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  box-shadow: none !important;
  border: 0 !important;
}

.m-purpose-head {
  margin: 0 0 18px !important;
  text-align: center !important;
}

.m-purpose-head h2 {
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
}

.m-purpose-head p {
  margin-top: 7px !important;
  font-size: 13px !important;
  color: #6b7280 !important;
}

.app-category-tabs {
  display: none !important;
}

.m-purpose-grid {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding: 0 !important;
  padding: 2px 0 14px !important;
  -webkit-overflow-scrolling: touch !important;
}

.m-purpose-grid::-webkit-scrollbar {
  display: none !important;
}

.m-purpose-item {
  display: flex !important;
  flex: 0 0 100% !important;
  min-height: 214px !important;
  scroll-snap-align: center !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px 18px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .88) !important;
  border: .5px solid rgba(60, 60, 67, .12) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
}

.m-purpose-item[hidden] {
  display: flex !important;
}

.m-purpose-item:nth-of-type(n+12) {
  display: none !important;
}

.m-purpose-item img {
  width: min(260px, 72vw) !important;
  height: auto !important;
  max-height: 138px !important;
  object-fit: contain !important;
  margin: 0 auto 18px !important;
}

.m-purpose-item span {
  max-width: 280px !important;
  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

@media (max-width: 350px) {
  .m-purpose-panel {
    min-height: 360px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .m-purpose-item {
    min-height: 200px !important;
  }
  .m-purpose-item img {
    width: min(230px, 72vw) !important;
    max-height: 124px !important;
  }
  .m-purpose-item span {
    font-size: 16px !important;
  }
}

/* Purpose section vertical usage cards */
.m-purpose-panel {
  min-height: auto !important;
  padding-bottom: 28px !important;
}

.m-purpose-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  overflow: visible !important;
  padding: 0 !important;
  scroll-snap-type: none !important;
}

.m-purpose-item {
  flex: none !important;
  min-height: 126px !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 16px !important;
  padding: 16px !important;
  text-align: left !important;
}

.m-purpose-item img {
  width: 128px !important;
  max-width: 128px !important;
  height: 82px !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.m-purpose-item span {
  max-width: none !important;
  font-size: 16px !important;
  text-align: left !important;
}

@media (max-width: 350px) {
  .m-purpose-item {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 112px !important;
    padding: 14px !important;
  }
  .m-purpose-item img {
    width: 112px !important;
    max-width: 112px !important;
    height: 72px !important;
  }
  .m-purpose-item span {
    font-size: 15px !important;
  }
}

/* Purpose cards visual consistency */
.m-purpose-panel {
  background: rgba(255, 255, 255, .74) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
}

.m-purpose-item {
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .88) !important;
  border: .5px solid rgba(60, 60, 67, .12) !important;
  box-shadow: none !important;
}

.m-purpose-item img {
  border-radius: 3px !important;
  box-shadow: none !important;
}

.m-purpose-item span {
  color: #111827 !important;
  font-weight: 700 !important;
}

/* Purpose card count follows user.html */
.m-purpose-item:nth-of-type(n+11) {
  display: none !important;
}

/* Purpose cards force horizontal layout */
.m-purpose-item {
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 16px !important;
  min-height: 126px !important;
  padding: 16px !important;
  text-align: left !important;
}

.m-purpose-item img {
  width: 128px !important;
  max-width: 128px !important;
  height: 82px !important;
  max-height: 82px !important;
  margin: 0 !important;
  object-fit: contain !important;
  justify-self: center !important;
  align-self: center !important;
}

.m-purpose-item span {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
  justify-self: stretch !important;
  align-self: center !important;
}

@media (max-width: 350px) {
  .m-purpose-item {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 112px !important;
    padding: 14px !important;
  }
  .m-purpose-item img {
    width: 112px !important;
    max-width: 112px !important;
    height: 72px !important;
    max-height: 72px !important;
  }
}

/* Purpose hidden items stay horizontal */
.m-purpose-item[hidden]:not(:nth-of-type(n+11)) {
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) !important;
}

@media (max-width: 350px) {
  .m-purpose-item[hidden]:not(:nth-of-type(n+11)) {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }
}

/* Hide purpose heading copy */
.m-purpose-head {
  display: none !important;
}

/* Coupon spacing and label alignment */
.m-campaign-banner {
  margin-bottom: 24px !important;
}

.m-campaign-gift {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding-top: 14px !important;
  font-size: 0 !important;
}

.m-campaign-gift::before {
  content: '¥' !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #ff7a1a !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.m-campaign-gift::after {
  content: 'COUPON' !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  line-height: 1 !important;
}

/* Hide order flow on home */
.m-order-flow {
  display: none !important;
}

/* Hide footer contact block on home */
.app-footer-contact {
  display: none !important;
}

/* Apple-style mobile footer */
.apple-style-footer {
  margin: 0 !important;
  padding: 26px 20px calc(116px + env(safe-area-inset-bottom)) !important;
  background: #f5f5f7 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #6e6e73 !important;
}

.apple-style-footer .app-footer-logo,
.apple-style-footer .app-footer-lead,
.apple-style-footer .app-footer-nav {
  display: none !important;
}

.app-footer-note {
  margin: 0 0 24px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid #d2d2d7 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.app-footer-accordion {
  border-top: 1px solid #d2d2d7 !important;
}

.app-footer-accordion details {
  border-bottom: 1px solid #d2d2d7 !important;
}

.app-footer-accordion summary {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #1d1d1f !important;
  cursor: pointer !important;
  list-style: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  user-select: none !important;
}

.app-footer-accordion summary::-webkit-details-marker {
  display: none !important;
}

.app-footer-accordion summary::after {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #1d1d1f !important;
  border-bottom: 2px solid #1d1d1f !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transition: transform .18s ease !important;
  opacity: .9 !important;
}

.app-footer-accordion details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px) !important;
}

.app-footer-panel {
  display: grid !important;
  gap: 0 !important;
  padding: 0 0 12px 14px !important;
}

.app-footer-panel a {
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  color: #424245 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.app-footer-panel a:active {
  color: #06c !important;
}

.app-footer-contact-line {
  margin: 24px 0 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.app-footer-contact-line a,
.apple-style-footer .app-footer-legal a {
  color: #06c !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.apple-style-footer .app-footer-legal {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 9px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.apple-style-footer .app-footer-legal span {
  color: #86868b !important;
}

.apple-style-footer .app-footer-copy {
  margin: 16px 0 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

/* Hide home floating CTA */
.app-sticky-cta {
  display: none !important;
}

/* Header icons: bag and two-line menu */
.app-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-left: auto !important;
}

.app-header-cart,
.app-header-menu {
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.app-header-cart svg {
  width: 27px !important;
  height: 27px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.app-header-menu {
  gap: 7px !important;
}

.app-header-menu span {
  width: 26px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

.app-header-menu:active,
.app-header-cart:active {
  opacity: .55 !important;
  transform: none !important;
  background: transparent !important;
}

.m-header,
.app-mobile-header.m-header {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 350px) {
  .app-header-actions { gap: 18px !important; }
  .app-header-cart,
  .app-header-menu { width: 32px !important; height: 32px !important; }
  .app-header-cart svg { width: 25px !important; height: 25px !important; }
  .app-header-menu span { width: 24px !important; }
}

/* Apple dark full-screen menu */
.app-menu-drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1200 !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  background: #161617 !important;
  color: #f5f5f7 !important;
  padding: max(68px, env(safe-area-inset-top)) 34px calc(42px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}

.app-menu-drawer[hidden] {
  display: none !important;
}

.app-menu-close {
  position: fixed !important;
  top: max(20px, env(safe-area-inset-top)) !important;
  right: 26px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f5f5f7 !important;
  font-size: 46px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.app-menu-close:active {
  opacity: .55 !important;
  transform: none !important;
}

.app-menu-head,
.app-menu-cta,
.app-menu-phone {
  display: none !important;
}

.app-menu-links {
  display: grid !important;
  gap: 22px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-menu-links h3 {
  display: none !important;
}

.app-menu-links a {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f5f5f7 !important;
  font-size: clamp(37px, 10.5vw, 58px) !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
  line-height: 1.08 !important;
  text-decoration: none !important;
}

.app-menu-links a::after {
  display: none !important;
}

.app-menu-links a:active {
  opacity: .6 !important;
  background: transparent !important;
}

.app-menu-primary-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 34px !important;
}

.app-menu-primary-actions a {
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  text-decoration: none !important;
}

.app-menu-primary-order {
  background: #f5f5f7 !important;
  color: #161617 !important;
}

.app-menu-primary-contact {
  background: rgba(245, 245, 247, .14) !important;
  color: #f5f5f7 !important;
  border: 1px solid rgba(245, 245, 247, .28) !important;
}

body.app-menu-open .m-bottom-nav,
body.app-menu-open .app-sticky-cta,
body.app-menu-open .notification-bell,
body.app-menu-open #notificationBell,
body.app-menu-open .m-bell,
body.app-menu-open .bell-button {
  display: none !important;
}

@media (max-width: 350px) {
  .app-menu-drawer {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }
  .app-menu-links {
    gap: 18px !important;
  }
  .app-menu-primary-actions a {
    min-height: 54px !important;
    font-size: 16px !important;
  }
}

/* White Apple full-screen menu override */
.app-menu-drawer {
  background: #ffffff !important;
  color: #1d1d1f !important;
}

.app-menu-close {
  color: #1d1d1f !important;
}

.app-menu-links a {
  color: #1d1d1f !important;
}

.app-menu-primary-order {
  background: #1d1d1f !important;
  color: #ffffff !important;
}

.app-menu-primary-contact {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  border: 1px solid #d2d2d7 !important;
}

/* Apple menu purpose list sizing */
.app-menu-drawer {
  padding-top: max(58px, env(safe-area-inset-top)) !important;
}

.app-menu-links {
  gap: 13px !important;
}

.app-menu-links a {
  font-size: clamp(24px, 7.2vw, 34px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.045em !important;
}

.app-menu-primary-actions {
  margin-top: 24px !important;
}

@media (max-width: 350px) {
  .app-menu-links {
    gap: 10px !important;
  }
  .app-menu-links a {
    font-size: 22px !important;
  }
}

/* Tighten home footer tail spacing; bottom tab bar already reserves safe space. */
.apple-style-footer {
  padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important;
  margin-bottom: 0 !important;
}
body.has-mobile-nav-v2 .apple-style-footer {
  padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
}
body.has-mobile-nav-v2 .m-page {
  padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

/* Remove the extra blank area after the home footer copyright. */
body {
  padding-bottom: 0 !important;
}
body.has-mobile-nav-v2 .m-page,
.m-page {
  padding-bottom: 0 !important;
}
.apple-style-footer,
body.has-mobile-nav-v2 .apple-style-footer {
  padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
}

/* Smaller home menu text for long Japanese category labels. */
.app-menu-links {
  gap: 11px !important;
}
.app-menu-links a {
  font-size: clamp(20px, 6vw, 28px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em !important;
}
.app-menu-primary-actions a {
  font-size: 13px !important;
  min-height: 46px !important;
  border-radius: 13px !important;
}
@media (max-width: 350px) {
  .app-menu-links a { font-size: 19px !important; }
  .app-menu-primary-actions a { font-size: 12px !important; }
}

/* Even smaller home menu text pass. */
.app-menu-links {
  gap: 9px !important;
}
.app-menu-links a {
  font-size: clamp(17px, 5.1vw, 24px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}
.app-menu-primary-actions a {
  font-size: 12px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
}
@media (max-width: 350px) {
  .app-menu-links a { font-size: 16px !important; }
  .app-menu-primary-actions a { font-size: 11.5px !important; }
}

/* Apple-like lighter shopping bag icon. */
.app-header-cart svg {
  width: 29px !important;
  height: 29px !important;
  stroke-width: 1.75 !important;
}

/* Apple-like mobile bag panel. */
body.app-cart-open .m-bottom-nav,
body.app-cart-open .app-sticky-cta,
body.app-cart-open .notification-bell,
body.app-cart-open #notificationBell,
body.app-cart-open .m-bell,
body.app-cart-open .bell-button {
  display: none !important;
}
.app-cart-panel {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1210 !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  padding: max(76px, env(safe-area-inset-top)) 48px calc(42px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}
.app-cart-panel[hidden] { display: none !important; }
.app-cart-close {
  position: fixed !important;
  top: max(22px, env(safe-area-inset-top)) !important;
  right: 30px !important;
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  background: transparent !important;
  color: #1d1d1f !important;
  font-size: 42px !important;
  font-weight: 200 !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.app-cart-inner { max-width: 390px !important; margin: 0 auto !important; }
.app-cart-inner h2 {
  margin: 0 0 36px !important;
  color: #1d1d1f !important;
  font-size: clamp(32px, 8vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
  line-height: 1.12 !important;
}
.app-cart-inner p {
  margin: 0 0 72px !important;
  color: #6e6e73 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.48 !important;
}
.app-cart-inner p a { color: #06c !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
.app-cart-profile > span {
  display: block !important;
  margin: 0 0 22px !important;
  color: #6e6e73 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
}
.app-cart-profile a {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: 48px !important;
  color: #1d1d1f !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
.app-cart-profile svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  fill: none !important;
  stroke: #7d7d82 !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
@media (max-width: 350px) {
  .app-cart-panel { padding-left: 34px !important; padding-right: 34px !important; }
  .app-cart-inner h2 { font-size: 29px !important; }
  .app-cart-inner p { font-size: 16px !important; margin-bottom: 52px !important; }
  .app-cart-profile a { font-size: 20px !important; gap: 16px !important; }
}

/* Business-sized bag panel typography. */
.app-cart-panel {
  padding: max(70px, env(safe-area-inset-top)) 38px calc(34px + env(safe-area-inset-bottom)) !important;
}
.app-cart-inner h2 {
  margin-bottom: 24px !important;
  font-size: clamp(24px, 6.4vw, 32px) !important;
  letter-spacing: -.04em !important;
  line-height: 1.16 !important;
}
.app-cart-inner p {
  margin-bottom: 46px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
.app-cart-profile > span {
  margin-bottom: 16px !important;
  font-size: 14px !important;
}
.app-cart-profile a {
  min-height: 42px !important;
  gap: 16px !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  letter-spacing: -.025em !important;
}
.app-cart-profile svg {
  width: 20px !important;
  height: 20px !important;
  flex-basis: 20px !important;
}
@media (max-width: 350px) {
  .app-cart-panel { padding-left: 28px !important; padding-right: 28px !important; }
  .app-cart-inner h2 { font-size: 22px !important; }
  .app-cart-inner p { font-size: 14px !important; margin-bottom: 38px !important; }
  .app-cart-profile a { font-size: 17px !important; }
}

/* Space between the reasons badges and the coupon banner below */
.app-reasons {
  padding-bottom: 28px !important;
}

/* ホーム row between the footer note line and the accordion's top line */
.app-footer-note {
  margin-bottom: 0 !important;
}

.app-footer-home {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  color: #1d1d1f !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

/* Footer legal links: same grey as other text, no underline, single line. */
.apple-style-footer .app-footer-legal {
  flex-wrap: nowrap !important;
  gap: 0 8px !important;
  white-space: nowrap !important;
  font-size: 11px !important;
}
.apple-style-footer .app-footer-legal a,
.apple-style-footer .app-footer-legal span {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}
.apple-style-footer .app-footer-legal a {
  color: #6e6e73 !important;
  text-decoration: none !important;
}

/* Coupon banner: let the headline wrap on narrow phones instead of being clipped. */
.m-campaign-banner .m-campaign-price,
.m-campaign-banner .m-campaign-copy {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  line-height: 1.35 !important;
}

.m-campaign-banner .m-campaign-price {
  font-size: clamp(12px, 3.6vw, 15px) !important;
  text-wrap: balance;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* Home category cards: slightly stronger border and shadow. */
.m-purpose-panel .m-purpose-item {
  border: 1px solid rgba(60, 60, 67, 0.24) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
}

/* Home category cards: center multi-line labels. */
.m-purpose-item span {
  text-align: center !important;
}
