:root {
  color-scheme: dark;
  --bg: #101112;
  --surface: #171819;
  --surface-raised: #202123;
  --surface-hover: #292b2e;
  --line: #34363a;
  --line-strong: #5d6066;
  --text: #eceeef;
  --muted: #a0a4a8;
  --disabled: #666a70;
  --inverse: #111214;
  --white: #ffffff;
  --accent: #d4d7da;
  --accent-strong: #b9bdc1;
  --accent-soft: rgba(212, 215, 218, .1);
  --focus: #d4d7da;
  --danger-line: #d27c8b;
  --stock-good: #43c47a;
  --stock-warning: #f0c84b;
  --stock-critical: #ef6464;
  --radius: 5px;
  --shadow: 0 18px 54px rgba(0, 0, 0, .5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 1080px;
  overflow-x: auto;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -30%, rgba(190, 194, 198, .1), transparent 45%),
    var(--bg);
  font-family: "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN",
    "BIZ UDPGothic", Meiryo, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.hidden {
  display: none !important;
}

/* Header */
.appHeader {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, .9fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 21, 23, .97);
  box-shadow: 0 1px 18px rgba(0, 0, 0, .28);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brandIcon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8f7fa;
}

.brandIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

.brandName {
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brandVersion {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.jackpotPanel {
  min-width: 300px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 215, 218, .05), transparent), var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.jackpotLabel {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.jackpotAmount {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: nowrap;
}

.jackpotAmount.jackpotFlash {
  animation: value-flash .8s ease;
}

@keyframes value-flash {
  50% { opacity: .35; }
}

.clockBox {
  min-width: 132px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.clockDate {
  color: var(--muted);
  font-size: 12px;
}

.clockTime {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
}

.headerRight {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.statusDot {
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 215, 218, .1), 0 0 12px rgba(212, 215, 218, .3);
}

.loginButton,
.adminButton,
.staffNameButton {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface-raised);
  transition: background .12s ease, border-color .12s ease;
}

.loginButton,
.adminButton {
  padding: 0 16px;
  font-weight: 700;
}

.loginButton {
  color: var(--inverse);
  border-color: var(--accent);
  background: var(--accent);
}

.adminButton:hover,
.staffNameButton:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.staffMenuWrap {
  position: relative;
}

.staffNameButton {
  min-width: 190px;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

#loginUser {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.staffDropdown {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  display: none;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.staffDropdown.show {
  display: block;
}

.staffDropdown button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}

.staffDropdown button:hover {
  background: var(--surface-hover);
}

/* Register mode */
.modeTabs {
  position: fixed;
  z-index: 40;
  top: 76px;
  bottom: 0;
  left: 0;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: rgba(20, 21, 23, .97);
}

.modeTab {
  width: 100%;
  flex: 0 0 auto;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted);
  background: var(--surface);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 0 16px;
}

.modeTab:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.modeTab.active {
  position: relative;
  color: var(--inverse);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.modeTab.active::after {
  content: "";
  position: absolute;
  top: 9px;
  right: -7px;
  bottom: 9px;
  width: 3px;
  border-radius: 2px;
  background: var(--white);
}

/* Inventory status */
.inventoryApp {
  width: calc(100% - 190px);
  min-height: calc(100vh - 76px);
  margin-left: 190px;
  padding: 20px;
}

.inventoryPanel {
  min-height: calc(100vh - 116px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(212, 215, 218, .025), transparent 180px),
    var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.inventoryHeader {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.inventoryEyebrow {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.inventoryHeader h2 {
  font-size: 22px;
}

.inventoryHeader p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.inventoryTypeTabs {
  display: flex;
  gap: 8px;
}

.inventoryControlBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 0;
}

.inventoryControlActions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.inventoryTypeTab {
  min-width: 130px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-raised);
  cursor: pointer;
  font-weight: 700;
}

.inventoryTypeTab.active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-hover);
}

.stockLegend {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventoryHeaderActions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inventoryRefreshButton {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-raised);
  cursor: pointer;
  font-weight: 700;
}

.inventoryRefreshButton:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.inventoryRefreshButton:disabled {
  cursor: wait;
  opacity: .45;
}

.inventoryBulkButton {
  border-color: var(--accent);
  color: var(--inverse);
  background: var(--accent);
}

.inventoryBulkButton:hover {
  color: var(--inverse);
  background: var(--accent-strong);
}

.stockLegend span {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.stockLegend .good,
.good .inventoryStockNumber,
.stockText.good,
.salesStock.good {
  color: var(--stock-good);
}

.stockLegend .warning,
.warning .inventoryStockNumber,
.stockText.warning,
.salesStock.warning {
  color: var(--stock-warning);
}

.stockLegend .critical,
.critical .inventoryStockNumber,
.stockText.critical,
.salesStock.critical {
  color: var(--stock-critical);
}

.inventoryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  align-content: start;
  gap: 12px;
  max-height: calc(100vh - 275px);
  overflow-y: auto;
  padding: 14px;
}

.inventoryGrid > .loading {
  grid-column: 1 / -1;
}

.inventoryCard {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.inventoryCard.good {
  border-left-color: var(--stock-good);
}

.inventoryCard.warning {
  border-left-color: var(--stock-warning);
}

.inventoryCard.critical {
  border-left-color: var(--stock-critical);
}

.inventoryCardTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.inventoryName {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventoryPrice {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.inventoryStockNumber {
  flex: 0 0 auto;
  text-align: right;
}

.inventoryStockNumber span {
  display: block;
  font-size: 10px;
}

.inventoryStockNumber strong {
  display: block;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stockGauge {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #0c0d0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.stockGauge > span {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  transition: width .2s ease;
}

.good .stockGauge > span,
.salesStock.good .stockGauge > span {
  background: var(--stock-good);
}

.warning .stockGauge > span,
.salesStock.warning .stockGauge > span {
  background: var(--stock-warning);
}

.critical .stockGauge > span,
.salesStock.critical .stockGauge > span {
  background: var(--stock-critical);
}

.inventoryGauge {
  margin-top: 14px;
}

.inventoryAddRow {
  display: grid;
  grid-template-columns: auto minmax(70px, 100px) auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.inventoryAddRow label {
  color: var(--muted);
  font-size: 11px;
}

.inventorySetRow {
  grid-template-columns: minmax(80px, 1fr) auto;
}

.inventoryAdjustRow {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto auto;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.inventoryDecreaseButton {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #292b2e;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.inventoryDecreaseButton:hover {
  border-color: #8e9297;
  background: #35383c;
}

.salesPriceEditRow {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.salesPriceEditRow > label {
  color: var(--muted);
  font-size: 11px;
}

.salesPriceInputWrap {
  position: relative;
}

.salesPriceInputWrap > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 9px;
  color: var(--muted);
  font-size: 12px;
  transform: translateY(-50%);
}

.salesPriceInputWrap .salesPriceInput {
  padding-left: 25px;
}

.inventoryQtyInput {
  width: 100%;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: #0d0e0f;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.inventoryQtyInput:focus {
  border-color: var(--accent);
  outline: 0;
}

.inventoryAddButton {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  background: var(--surface-hover);
  font-size: 11px;
  font-weight: 700;
}

.inventoryAddButton:hover {
  border-color: var(--accent);
}

.inventoryAddButton:disabled {
  cursor: wait;
  opacity: .45;
}

/* Expense request */
.expenseApp {
  width: calc(100% - 190px);
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: start center;
  margin-left: 190px;
  padding: 28px;
}

.expensePanel {
  width: min(820px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(212, 215, 218, .035), transparent 180px),
    var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.productAddPanel {
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.productAddForm {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 14px 18px;
  padding: 24px;
}

.productAddForm > label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.productAddInput {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #0d0e0f;
}

.craftItemCheckRow,
.craftMaterialFields,
.productAddSubmitRow {
  grid-column: 1 / -1;
}

.craftItemCheckRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.craftItemCheckRow input {
  width: 20px;
  height: 20px;
}

.craftMaterialFields {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .12);
}

.craftMaterialHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
}

.craftMaterialAddButton {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-hover);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.craftOutputRow {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 130px;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.craftOutputRow label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.craftMaterialRow {
  display: grid;
  grid-template-columns: 55px minmax(180px, 1fr) 110px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.craftMaterialRow > span {
  color: var(--muted);
  font-size: 11px;
}

.productAddSubmitRow {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.simulatorApp {
  width: calc(100% - 190px);
  min-height: calc(100vh - 76px);
  margin-left: 190px;
  padding: 20px;
}

.craftCalculatorApp {
  width: calc(100% - 190px);
  min-height: calc(100vh - 76px);
  margin-left: 190px;
  padding: 20px;
}

.scratchCalculatorApp {
  width: calc(100% - 190px);
  min-height: calc(100vh - 76px);
  margin-left: 190px;
  padding: 20px;
}

.scratchCalculatorPanel {
  min-height: calc(100vh - 116px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.scratchCalculatorLayout {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(480px, 1.5fr) minmax(240px, .65fr);
  gap: 14px;
  padding: 14px;
}

.scratchCalculatorControls,
.scratchPrizeSection,
.scratchCalculatorResult {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.scratchCalculatorControls {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.scratchCalculatorControls label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.scratchCalculatorControls select,
.scratchCalculatorControls input,
.scratchPrizeRow input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: #0d0e0f;
  font-variant-numeric: tabular-nums;
}

.scratchCalculatorControls > p {
  color: var(--disabled);
  font-size: 10px;
  line-height: 1.6;
}

.scratchOrDivider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--disabled);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.scratchOrDivider::before,
.scratchOrDivider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}

.scratchMoneyInput {
  display: flex;
  align-items: center;
  padding-left: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: #0d0e0f;
}

.scratchMoneyInput input {
  border: 0;
}

.scratchPrizeTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.scratchPrizeHeader,
.scratchPrizeRow {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(100px, .65fr) minmax(120px, .8fr) 58px;
  align-items: center;
  gap: 10px;
}

.scratchPrizeHeader {
  padding: 0 8px 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.scratchPrizeRow {
  min-height: 64px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.scratchPrizeSubtotal {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.scratchPrizeRemove {
  min-height: 34px;
  border: 1px solid var(--danger);
  border-radius: 4px;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
}

.scratchCalculatorResult {
  align-self: start;
  text-align: center;
}

.scratchCalculatorResultLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.scratchCalculatorResult > strong {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.scratchCalculatorResultUnit {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.scratchBreakEvenTickets {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.scratchCalculatorResult dl {
  margin-top: 24px;
  text-align: left;
}

.scratchCalculatorResult dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.scratchCalculatorResult dt {
  color: var(--muted);
  font-size: 10px;
}

.scratchCalculatorResult dd {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.scratchCalculatorResult p {
  margin-top: 14px;
  color: var(--disabled);
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
}

.craftCalculatorPanel {
  min-height: calc(100vh - 116px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.craftCalculatorLayout {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(440px, 1.35fr) minmax(240px, .65fr);
  gap: 14px;
  padding: 14px;
}

.craftCalculatorControls,
.craftCalculatorMaterials,
.craftCalculatorResult {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.craftCalculatorControls {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.craftCalculatorControls label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.craftCalculatorInput {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: #0d0e0f;
  font-variant-numeric: tabular-nums;
}

.craftCalculatorInput:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.craftCalculatorHelp {
  color: var(--disabled);
  font-size: 10px;
  line-height: 1.6;
}

.craftCalculatorClearButton {
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-hover);
  cursor: pointer;
  font-weight: 700;
}

.craftCalculatorMaterialHeader,
.craftCalculatorMaterialRow {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, .75fr) 120px;
  align-items: center;
  gap: 12px;
}

.craftCalculatorMaterialHeader {
  min-height: 34px;
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.craftCalculatorMaterialRow {
  min-height: 62px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.craftCalculatorMaterialRow strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.craftMaterialPerCraft {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.craftCalculatorResult {
  align-self: start;
  text-align: center;
}

.craftCalculatorResultLabel {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.craftCalculatorResult > strong {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-size: clamp(46px, 5vw, 78px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.craftCalculatorResultUnit {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.craftCalculatorResult dl {
  margin-top: 24px;
  text-align: left;
}

.craftCalculatorResult dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.craftCalculatorResult dt {
  color: var(--muted);
  font-size: 10px;
}

.craftCalculatorResult dd {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.craftCalculatorResult p {
  margin-top: 14px;
  color: var(--disabled);
  font-size: 10px;
  line-height: 1.6;
  text-align: left;
}

.simulatorPanel {
  min-height: calc(100vh - 116px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.simulatorLayout {
  display: grid;
  grid-template-columns: minmax(230px, .75fr) minmax(620px, 2fr) minmax(230px, .75fr);
  gap: 14px;
  padding: 14px;
}

.simulatorControls,
.simulatorMaterials,
.simulatorResults {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.simulatorMaterials {
  overflow-x: auto;
}

.simulatorControls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.simulatorControls label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.simulatorInput {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: #0d0e0f;
  font-variant-numeric: tabular-nums;
}

.simulatorPriceEdit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.simulatorBuyPriceEdit {
  display: grid;
  gap: 4px;
}

.simulatorBuyPriceEdit .simulatorMiniButton {
  min-height: 28px;
  padding: 0 5px;
  font-size: 9px;
}

.simulatorOutputCount {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.simulatorOutputCount strong {
  float: right;
  color: var(--text);
}

.simulatorButton {
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--inverse);
  background: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.simulatorButton.secondary {
  color: var(--text);
  background: var(--surface-hover);
}

.simulatorMaterials h3,
.simulatorResults h3 {
  font-size: 15px;
}

.simulatorResults h4 {
  margin-top: 14px;
  padding: 8px 0 5px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.simulatorMaterialsTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.simulatorMiniButton {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-hover);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.simulatorMiniButton:disabled {
  cursor: wait;
  opacity: .45;
}

.simulatorMaterialHeader,
.simulatorMaterialRow {
  display: grid;
  grid-template-columns:
    minmax(100px, 1.3fr)
    80px
    130px
    82px
    105px
    100px
    82px
    92px
    minmax(105px, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 1000px;
}

.simulatorMaterialHeader {
  padding: 0 8px 8px;
  color: var(--muted);
  font-size: 10px;
}

.simulatorMaterialRow {
  min-height: 58px;
  padding: 9px 8px;
  border-top: 1px solid var(--line);
}

.simulatorMaterialRow > span,
.simulatorMaterialRow > strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simulatorMaterialRisk.negative {
  color: var(--stock-critical);
}

.simulatorMaterialRisk.positive {
  color: var(--stock-good);
}

.simulatorMaterialRisk.warning,
.simulatorLimitWarning {
  color: var(--stock-warning);
}

.simulatorLimitWarning {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 11px;
}

.simulatorResults > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-top: 1px solid var(--line);
}

.simulatorResults span {
  color: var(--muted);
  font-size: 11px;
}

.simulatorResults strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.simulatorResults .negative,
#simulatorProfitRate.negative {
  color: var(--stock-critical);
}

.simulatorResults .positive,
#simulatorProfitRate.positive {
  color: var(--stock-good);
}

.simulatorResults .warning {
  color: var(--stock-warning);
}

.expenseHeader {
  min-height: 130px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.expenseEyebrow {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.expenseHeader h2 {
  font-size: 24px;
  font-weight: 700;
}

.expenseHeader p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.expenseLoginStatus {
  min-width: 190px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(8, 9, 10, .42);
  font-size: 11px;
}

.expenseLoginStatus strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expenseForm {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px 20px;
  padding: 28px;
}

.expenseForm > label {
  padding-top: 13px;
  color: #c9cbce;
  font-size: 13px;
  font-weight: 700;
}

.expenseInput,
.expenseTextarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #0d0e0f;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.expenseInput {
  height: 48px;
  padding: 0 13px;
}

.expenseTextarea {
  min-height: 220px;
  resize: vertical;
  padding: 13px;
  line-height: 1.7;
}

.expenseInput::placeholder,
.expenseTextarea::placeholder {
  color: #666a70;
}

.expenseInput:focus,
.expenseTextarea:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(212, 215, 218, .1);
}

.expenseAmountField {
  position: relative;
}

.expenseAmountField > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--accent);
  font-weight: 700;
  transform: translateY(-50%);
}

.expenseAmountField .expenseInput {
  padding-left: 34px;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.expenseSubmitRow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.expenseSubmitRow p {
  color: var(--muted);
  font-size: 11px;
}

.expenseSubmitButton {
  min-width: 180px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--inverse);
  background: var(--accent);
  font-weight: 700;
}

.expenseSubmitButton:hover {
  background: var(--accent-strong);
}

.expenseSubmitButton:disabled {
  cursor: wait;
  opacity: .45;
}

.expenseManagePanel {
  width: min(1080px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
}

.pendingExpenseCount {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #17191b;
  font-size: 12px;
  font-weight: 700;
}

.expenseManageLayout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  min-height: 480px;
}

.pendingExpenseList {
  max-height: calc(100vh - 270px);
  overflow-y: auto;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: #111214;
}

.expenseRequestButton {
  width: 100%;
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  background: #1b1d1f;
  text-align: left;
  cursor: pointer;
}

.expenseRequestButton span {
  color: var(--muted);
  font-size: 11px;
}

.expenseRequestButton strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expenseRequestButton:hover,
.expenseRequestButton.selected {
  border-color: #777b80;
  background: #292c2f;
}

.expenseReviewDetail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.expenseReviewDetail.empty {
  place-items: center;
}

.expenseReviewEmpty,
.expenseManageEmpty {
  padding: 30px 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.expenseReviewMeta,
.expenseReviewReason {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #17191b;
}

.expenseReviewMeta span,
.expenseReviewReason > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
}

.expenseReviewMeta strong {
  font-size: 15px;
}

.expenseReviewReason p {
  min-height: 100px;
  color: #d7d9dc;
  font-size: 13px;
  line-height: 1.7;
}

.expenseReviewActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.expenseRejectButton,
.expenseApproveButton {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #f2f2f2;
  font-weight: 700;
  cursor: pointer;
}

.expenseRejectButton {
  border-color: #8d6262;
  background: #654747;
}

.expenseApproveButton {
  border-color: #66836d;
  background: #49614f;
}

.expenseRejectButton:hover {
  background: #765252;
}

.expenseApproveButton:hover {
  background: #56725d;
}

.expenseReviewActions button:disabled {
  cursor: wait;
  opacity: .5;
}

/* Main workflow */
.app {
  width: calc(100% - 190px);
  height: calc(100vh - 76px);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, .72fr) minmax(360px, .95fr);
  gap: 12px;
  margin-left: 190px;
  padding: 12px;
}

.panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 35%), var(--surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.panelHeader {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.panelHeader h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
}

.panelHeader h2::before,
.keypadPanel::before {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.productPanel .panelHeader h2::before {
  content: "1";
}

.cartPanel .panelHeader h2::before {
  content: "3";
}

.panelHeader span {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.productHeaderActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stockRefreshButton {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-raised);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.stockRefreshButton:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.stockRefreshButton:disabled {
  cursor: wait;
  opacity: .45;
}

.productPanel {
  display: flex;
  flex-direction: column;
}

.productGrid {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 10px;
}

.productCard {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface-raised);
  transition: border-color .12s ease, background .12s ease, transform .06s ease;
}

.productCard:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.productCard:active {
  transform: translateY(1px);
}

.productCard.selected {
  color: var(--inverse);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--inverse);
}

.productName {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.productPrice {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.productCardMain {
  display: grid;
  gap: 3px;
}

.productCard.selected .productPrice {
  color: #414347;
}

.salesStock {
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.salesStockMeta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
}

.salesStockMeta strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.salesStock .stockGauge {
  position: relative;
  height: 20px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #555a60;
  border-radius: 4px;
  background: #08090a;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, .9),
    0 1px 0 rgba(255, 255, 255, .08);
}

.salesStock .stockGauge::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  pointer-events: none;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(10% - 1px),
    rgba(0, 0, 0, .32) calc(10% - 1px),
    rgba(0, 0, 0, .32) 10%
  );
}

.salesStock .stockGauge > span {
  position: relative;
  z-index: 0;
  border-radius: 2px;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, .5) 0,
    rgba(255, 255, 255, .08) 45%,
    rgba(0, 0, 0, .2) 55%,
    rgba(0, 0, 0, .35) 100%
  );
  background-blend-mode: screen;
}

.salesStockGauge em {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    0 1px 2px #000,
    0 0 3px #000;
}

.salesStock.good .stockGauge > span {
  background-color: var(--stock-good);
  box-shadow: 0 0 8px rgba(67, 196, 122, .55);
}

.salesStock.warning .stockGauge > span {
  background-color: var(--stock-warning);
  box-shadow: 0 0 8px rgba(240, 200, 75, .55);
}

.salesStock.critical .stockGauge > span {
  background-color: var(--stock-critical);
  box-shadow: 0 0 8px rgba(239, 100, 100, .6);
}

.stockText {
  font-weight: 700;
}

.loading,
.emptyCart {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.keypadPanel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 44px 12px 12px;
}

.keypadPanel::before {
  content: "2";
  position: absolute;
  top: 12px;
  left: 14px;
}

.keypadPanel::after {
  content: "数量を入力";
  position: absolute;
  top: 13px;
  left: 48px;
  font-size: 16px;
  font-weight: 700;
}

.selectedBox,
.qtyBox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.selectedBox {
  min-height: 90px;
  padding: 12px;
}

.selectedLabel,
.qtyLabel {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.selectedName {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selectedPrice {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.qtyBox {
  padding: 10px 12px;
}

.qtyDisplay {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
  background: #0d0e0f;
  box-shadow: inset 0 0 18px rgba(212, 215, 218, .03);
  font-size: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.keypad {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.key {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--surface-raised);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.key:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.key:active {
  color: var(--inverse);
  background: var(--accent);
}

.key.clear,
.key.delete {
  border-style: dashed;
  color: #d1d1d4;
}

.addButton,
.saveButton,
.smallButton,
.modalCancel,
.modalLogin,
.adminActionButton,
.adminCloseButton {
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.addButton,
.saveButton {
  min-height: 54px;
  border: 1px solid var(--accent);
  color: var(--inverse);
  background: var(--accent);
  font-size: 16px;
}

.addButton:hover,
.saveButton:hover,
.modalLogin:hover {
  background: var(--accent-strong);
}

.cartPanel {
  display: flex;
  flex-direction: column;
}

.smallButton {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.smallButton:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.cartList {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.cartItem {
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.cartTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.cartMeta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cartSubtotal {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.removeBtn {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid var(--muted);
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
}

.removeBtn:hover {
  color: var(--white);
  border-color: var(--white);
}

.totalBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 10px 8px;
  padding: 13px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(212, 215, 218, .08), transparent 60%), #0d0e0f;
}

.totalLabel {
  font-size: 13px;
  font-weight: 700;
}

.totalSub {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
}

.totalPrice {
  color: var(--accent);
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.saveButton {
  margin: 0 10px 10px;
}

/* Dialogs */
.modalBg {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(3px);
}

.modalBg.show {
  display: grid;
}

.modalBox,
.adminModalBox {
  width: min(440px, 100%);
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modalBox h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.modalBox label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.loginInput {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #0d0e0f;
  font-size: 16px;
}

.modalButtons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.modalCancel,
.modalLogin {
  min-width: 110px;
  min-height: 44px;
  border: 1px solid var(--line);
}

.modalCancel {
  background: transparent;
}

.modalLogin {
  color: var(--inverse);
  border-color: var(--accent);
  background: var(--accent);
}

.noticeBox p {
  color: #d2d2d4;
  line-height: 1.8;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  background: var(--accent);
  color: var(--inverse);
  box-shadow: var(--shadow);
  font-weight: 700;
  transform: translateY(12px);
  transition: opacity .16s ease, transform .16s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Administration */
.adminModalBox {
  width: min(900px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
}

.adminHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.adminHeader h2 {
  font-size: 21px;
}

.adminHeader p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.adminCloseButton {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 20px;
}

.adminGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.adminCard {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.adminCardLabel {
  color: var(--muted);
  font-size: 12px;
}

.adminCardValue {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.adminCardValue.good,
.adminCardValue.danger,
.jackpotMini {
  color: var(--text);
}

.jackpotMini,
.adminCardValue.good {
  color: var(--accent);
}

.adminSection {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.adminSection h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.systemRow {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.systemRow span {
  color: var(--muted);
}

.adminActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.adminActionButton {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
}

.adminActionButton:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.dangerButton,
.warningButton {
  border-style: dashed;
}

.maintenanceBg {
  z-index: 150;
  background: rgba(0, 0, 0, .92);
}

.maintenanceBox {
  text-align: center;
}

.maintenanceBox p {
  color: var(--muted);
  line-height: 1.8;
}

.maintenanceSub {
  margin-top: 14px;
  color: var(--disabled);
  font-size: 11px;
}

.maintenanceLoginButton {
  margin-top: 18px;
}

/* Scrollbars */
* {
  scrollbar-color: #5d6066 #171819;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-track {
  background: var(--surface);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid var(--surface);
  border-radius: 8px;
  background: #5d6066;
}

@media (max-width: 1280px) {
  .appHeader {
    grid-template-columns: minmax(230px, 1fr) minmax(260px, .8fr) auto auto;
    gap: 12px;
    padding-inline: 16px;
  }

  .app {
    grid-template-columns: minmax(390px, 1.05fr) minmax(280px, .68fr) minmax(340px, .9fr);
  }

  .staffNameButton {
    min-width: 160px;
  }

  .inventoryGrid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .craftCalculatorLayout {
    grid-template-columns: minmax(220px, .7fr) minmax(390px, 1.3fr);
  }

  .scratchCalculatorLayout {
    grid-template-columns: minmax(220px, .7fr) minmax(390px, 1.3fr);
  }

  .craftCalculatorResult,
  .scratchCalculatorResult {
    grid-column: 1 / -1;
  }
}

@media (max-height: 760px) {
  .app {
    min-height: 540px;
  }

  .productCard {
    min-height: 72px;
  }

  .keypadPanel {
    gap: 7px;
  }

  .selectedBox {
    min-height: 76px;
  }
}

@media (max-width: 900px) {
  .adminGrid,
  .adminActions {
    grid-template-columns: 1fr;
  }

  .expenseManageLayout {
    grid-template-columns: 1fr;
  }

  .pendingExpenseList {
    max-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inventoryControlBar {
    align-items: stretch;
    flex-direction: column;
  }

  .inventoryControlActions {
    justify-content: flex-end;
  }

  .craftCalculatorLayout {
    grid-template-columns: 1fr;
  }

  .scratchCalculatorLayout {
    grid-template-columns: 1fr;
  }

  .craftCalculatorResult,
  .scratchCalculatorResult {
    grid-column: auto;
  }

  .scratchPrizeHeader {
    display: none;
  }

  .scratchPrizeRow {
    grid-template-columns: 1fr 1fr;
  }
}

/* Public home page */
body.homePage {
  position: relative;
  min-width: 0;
  overflow-x: hidden;
  color: #202020;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 248, 232, .94) 58%, #fff 100%),
    repeating-linear-gradient(90deg, #fff7d6 0, #fff7d6 34px, #ffe36c 34px, #ffe36c 68px);
  font-family: "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN",
    "BIZ UDPGothic", Meiryo, sans-serif;
}

body.homePage.openingPlaying {
  overflow: hidden;
}

.homePage::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 216, 61, .32), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(229, 57, 45, .16), transparent 24%),
    radial-gradient(circle at 50% 92%, rgba(47, 168, 102, .12), transparent 24%);
  pointer-events: none;
}

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

.openingExperience {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  overflow: hidden;
  color: #ffffff;
  background: #030303;
  pointer-events: none;
  perspective: 900px;
}

.openingExperience.isPlaying {
  display: block;
  animation: opening-hide .48s ease 4.88s forwards;
}

.openingExperience::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 216, 61, .12), transparent 28%),
    radial-gradient(circle at 50% 115%, rgba(245, 154, 35, .12), transparent 32%),
    #030303;
  animation: opening-pulse 5.1s ease both;
}

.openingWordField {
  position: absolute;
  inset: -12vh -12vw;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: word-field-exit .92s ease 1.78s forwards;
}

.openingWord {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--wordColor, rgba(255, 255, 255, .55));
  font-size: var(--wordSize, 24px);
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: var(--wordOpacity, .5);
  filter: blur(var(--wordBlur, 0px));
  text-shadow: 0 0 18px rgba(255, 216, 61, .12);
  transform: translate3d(var(--wordStartX), var(--wordStartY), var(--wordDepthStart, 0px)) rotate(var(--wordRotate, 0deg)) scale(var(--wordScaleStart, 1));
  animation: word-flood var(--wordDuration, 1.9s) linear var(--wordDelay, 0s) both;
}

.openingCenterCopy {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 24px;
  color: #fff8e8;
  font-size: clamp(28px, 5vw, 74px);
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  opacity: 0;
  filter: blur(16px);
  text-shadow:
    0 0 24px rgba(255, 216, 61, .55),
    0 0 70px rgba(245, 154, 35, .32);
  animation: center-copy 1.62s cubic-bezier(.18, .84, .2, 1) 1.02s both;
}

.openingHallway {
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: 0;
  transform-style: preserve-3d;
  transform: scale(1.18) translateY(24px);
  animation: hallway-camera 1.9s cubic-bezier(.18, .84, .2, 1) 2.18s both;
}

.openingHallway::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 8, 4, .98), rgba(25, 17, 9, .72) 22%, transparent 48%, rgba(25, 17, 9, .72) 78%, rgba(12, 8, 4, .98)),
    radial-gradient(circle at 50% 48%, rgba(255, 216, 61, .08), transparent 22%),
    #050403;
}

.hallWall {
  position: absolute;
  z-index: 2;
  top: 8%;
  bottom: 0;
  width: 34%;
  display: grid;
  align-content: center;
  gap: 34px;
  color: rgba(255, 248, 232, .16);
  font-size: clamp(12px, 2vw, 28px);
  font-weight: 900;
  overflow: hidden;
}

.hallWall span {
  display: block;
  white-space: nowrap;
  animation: wall-words 1.5s linear infinite;
}

.hallWallLeft {
  left: 0;
  padding-left: 5vw;
  transform: skewY(8deg);
}

.hallWallRight {
  right: 0;
  padding-right: 5vw;
  text-align: right;
  transform: skewY(-8deg);
}

.hallWallRight span {
  animation-direction: reverse;
}

.hallFloor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8%;
  height: 48%;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 216, 61, .12) 49% 51%, transparent 53%),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 216, 61, .06) 75px 77px),
    linear-gradient(180deg, transparent, rgba(245, 154, 35, .14));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.openingDoor {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(320px, 54vw);
  height: min(430px, 68vh);
  transform: translate(-50%, -45%);
  transform-style: preserve-3d;
}

.openingDoor::before {
  content: "";
  position: absolute;
  inset: -38px -44px;
  border: 4px solid rgba(255, 216, 61, .12);
  border-radius: 8px;
  background: rgba(8, 5, 3, .8);
  box-shadow: 0 0 70px rgba(245, 154, 35, .08);
}

.doorPanel {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid rgba(255, 216, 61, .2);
  background:
    linear-gradient(90deg, rgba(255, 216, 61, .08), transparent),
    linear-gradient(180deg, #120b05, #050302);
  box-shadow: inset 0 0 34px rgba(0, 0, 0, .9);
  animation-duration: 1.08s;
  animation-timing-function: cubic-bezier(.18, .84, .2, 1);
  animation-delay: 3.18s;
  animation-fill-mode: forwards;
}

.doorPanelLeft {
  left: 0;
  transform-origin: left center;
  animation-name: door-open-left;
}

.doorPanelRight {
  right: 0;
  transform-origin: right center;
  animation-name: door-open-right;
}

.doorLight {
  position: absolute;
  z-index: 1;
  inset: -22px -18px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 216, 61, .96), rgba(245, 154, 35, .62) 32%, rgba(245, 154, 35, .18) 58%, transparent 74%),
    linear-gradient(180deg, transparent, rgba(255, 216, 61, .5));
  filter: blur(2px);
  animation: warm-door-light 1.18s ease 3.02s forwards;
}

.openingWelcome {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 22px;
  color: #e5392d;
  font-size: clamp(58px, 11vw, 156px);
  font-weight: 900;
  line-height: .95;
  text-align: center;
  opacity: 0;
  text-shadow:
    4px 4px 0 #ffffff,
    9px 9px 0 #ffd83d,
    0 0 60px rgba(255, 216, 61, .72);
  transform: translateZ(-260px) scale(.82);
  animation: welcome-title .86s cubic-bezier(.18, .84, .2, 1) 4.34s both;
}

body.homePage.openingPlaying .homeHeader,
body.homePage.openingPlaying main,
body.homePage.openingPlaying .homeFooter {
  opacity: 0;
}

body.homePage.openingDone .homeHeader,
body.homePage.openingDone main,
body.homePage.openingDone .homeFooter {
  animation: page-after-opening .62s ease both;
}

body.homePage.openingDone .heroVisual {
  animation-delay: .08s;
}

body.homePage.openingDone .heroKicker {
  animation: pop-stamp .62s cubic-bezier(.18, .84, .2, 1) .2s both;
}

body.homePage.openingDone .heroCopy h1 {
  animation-delay: .28s;
}

body.homePage.openingDone .heroLead {
  animation-delay: .42s;
}

body.homePage.openingDone .heroTicket,
body.homePage.openingDone .storeInfoStrip {
  animation-delay: .58s;
}

.pageAtmosphere {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphereStripe,
.floatingTag {
  position: absolute;
  will-change: transform;
  transform: translate3d(0, var(--parallaxY, 0px), 0);
}

.atmosphereStripe {
  width: 42vw;
  height: 130px;
  border-radius: 999px;
  opacity: .22;
  background: repeating-linear-gradient(90deg, #e5392d 0 26px, #ffd83d 26px 52px);
}

.atmosphereStripeOne {
  top: 12vh;
  left: -14vw;
  transform: rotate(-14deg) translate3d(0, var(--parallaxY, 0px), 0);
}

.atmosphereStripeTwo {
  right: -20vw;
  bottom: 18vh;
  transform: rotate(18deg) translate3d(0, var(--parallaxY, 0px), 0);
}

.floatingTag {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid rgba(32, 32, 32, .16);
  border-radius: 8px;
  color: rgba(32, 32, 32, .36);
  background: rgba(255, 255, 255, .72);
  box-shadow: 8px 8px 0 rgba(255, 216, 61, .35);
  font-size: 15px;
  font-weight: 900;
}

.floatingTagOne {
  top: 34vh;
  left: 5vw;
  transform: rotate(-8deg) translate3d(0, var(--parallaxY, 0px), 0);
}

.floatingTagTwo {
  top: 72vh;
  right: 7vw;
  transform: rotate(10deg) translate3d(0, var(--parallaxY, 0px), 0);
}

.floatingTagThree {
  top: 142vh;
  left: 2vw;
  transform: rotate(5deg) translate3d(0, var(--parallaxY, 0px), 0);
}

.homeHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid rgba(229, 57, 45, .18);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 34px rgba(120, 47, 0, .12);
  backdrop-filter: blur(12px);
}

.homeLogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.homeLogoMark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  border: 3px solid #202020;
  border-radius: 8px;
  background: #e5392d;
  box-shadow: 5px 5px 0 #ffd83d;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.homeLogo strong,
.homeLogo small {
  display: block;
  line-height: 1;
}

.homeLogo strong {
  color: #e5392d;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: .02em;
}

.homeLogo small {
  margin-top: 6px;
  color: #7a542d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.homeNav {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.homeNav a {
  padding: 9px 10px;
  border-radius: 999px;
  color: #4a3423;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.homeNav a:hover {
  color: #e5392d;
  background: #fff3b0;
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.openBadge {
  padding: 7px 11px;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  color: #5f5f58;
  background: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.flyerButton,
.mapButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.flyerButton,
.mapButton {
  color: #202020;
  border: 2px solid #202020;
  background: #ffd83d;
  box-shadow: 4px 4px 0 #e5392d;
}

.homePage main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.heroSection {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(18px, 3vw, 34px) 0 clamp(44px, 6vw, 72px);
  perspective: 1200px;
}

.heroVisual {
  position: relative;
  min-height: clamp(520px, 72vh, 720px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff8e8;
  box-shadow: 0 22px 58px rgba(120, 47, 0, .18);
  transform: scale(1.035);
  animation: hero-arrive 1.15s cubic-bezier(.18, .84, .2, 1) .08s forwards;
  will-change: transform;
}

.heroVisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .78) 30%, rgba(255, 255, 255, .18) 58%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(32, 32, 32, .16), rgba(32, 32, 32, 0) 42%);
  pointer-events: none;
}

.heroAwning {
  position: absolute;
  top: 0;
  left: 0;
  width: min(540px, 56%);
  height: 34px;
  background: repeating-linear-gradient(90deg, #e5392d 0 36px, #ffd83d 36px 72px);
  box-shadow: 0 12px 28px rgba(32, 32, 32, .12);
  transform: translateY(-100%);
  animation: awning-drop .82s cubic-bezier(.18, .84, .2, 1) .38s forwards;
}

.heroVisual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallaxY, 0px), 0) scale(1.03);
  will-change: transform;
}

.heroCopy {
  position: absolute;
  z-index: 2;
  top: clamp(54px, 9vw, 104px);
  left: clamp(20px, 5vw, 68px);
  width: min(560px, calc(100% - 40px));
}

.heroKicker,
.sectionLabel {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: #e5392d;
  box-shadow: 4px 4px 0 #ffd83d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.motionPop {
  transform-origin: 18% 100%;
}

.heroCopy h1 {
  margin: 18px 0 16px;
  color: #e5392d;
  font-size: clamp(58px, 8.2vw, 112px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .01em;
  text-shadow: 4px 4px 0 #ffffff, 8px 8px 0 #ffd83d;
  transform-origin: left bottom;
  animation: signboard-in .85s cubic-bezier(.18, .84, .2, 1) .42s both;
}

.heroLead {
  max-width: 520px;
  margin: 0;
  color: #202020;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.42;
  animation: slide-shop-copy .75s ease .58s both;
}

.heroTicket {
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 14px 18px;
  border: 2px solid #202020;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 6px 6px 0 #f59a23;
  transform: rotate(-1.2deg);
  animation: ticket-in .8s cubic-bezier(.18, .84, .2, 1) .78s both;
}

.heroTicket span,
.heroTicket strong {
  display: block;
}

.heroTicket span {
  margin-bottom: 4px;
  color: #7a542d;
  font-size: 12px;
  font-weight: 900;
}

.heroTicket strong {
  color: #e5392d;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 900;
}

.storeInfoStrip {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 4vw, 48px);
  bottom: clamp(22px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(620px, calc(100% - 28px));
  overflow: hidden;
  border: 2px solid #202020;
  border-radius: 8px;
  background: #202020;
  box-shadow: 8px 8px 0 #ffd83d;
  animation: counter-slide .78s cubic-bezier(.18, .84, .2, 1) .88s both;
}

.storeInfoStrip p {
  min-width: 0;
  padding: 14px 16px;
  background: #ffffff;
}

.storeInfoStrip span,
.storeInfoStrip strong {
  display: block;
}

.storeInfoStrip span {
  margin-bottom: 4px;
  color: #e5392d;
  font-size: 12px;
  font-weight: 900;
}

.storeInfoStrip strong {
  overflow: hidden;
  color: #202020;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sectionIntro {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start;
  margin: clamp(56px, 8vw, 96px) 0 28px;
}

.questionScene {
  padding: 48px clamp(18px, 4vw, 44px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 248, 232, .94)),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(245, 154, 35, .1) 24px 25px);
  box-shadow: 0 16px 42px rgba(120, 47, 0, .08);
}

.paperPin {
  position: absolute;
  top: 22px;
  right: clamp(18px, 4vw, 46px);
  width: 26px;
  height: 26px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: #e5392d;
  box-shadow: 0 5px 14px rgba(32, 32, 32, .18);
}

.sectionIntro h2,
.brandStory h2,
.managerSection h2,
.accessSection h2 {
  color: #202020;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .01em;
}

.sectionIntro p:not(.sectionLabel),
.brandStory p,
.managerSection p,
.newsList p,
.accessPanel dd,
.marketCard p,
.dealCard p {
  color: #5f4a35;
  font-size: 16px;
  line-height: 1.86;
}

.sectionIntro p:not(.sectionLabel) {
  max-width: 680px;
  margin-top: 14px;
}

.flyerGrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flyerGrid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(229, 57, 45, .12), transparent 24%),
    radial-gradient(circle at 84% 72%, rgba(47, 168, 102, .12), transparent 26%);
}

.dealCard,
.marketCard,
.newsList article,
.accessPanel {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(120, 47, 0, .1);
}

.dealCard {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(229, 57, 45, .18);
  transform-origin: 50% 100%;
}

.dealCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 92px;
  background: repeating-linear-gradient(90deg, #ffd83d 0, #ffd83d 22px, #ffffff 22px, #ffffff 44px);
}

.dealCard::after {
  content: "";
  position: absolute;
  top: 74px;
  right: 24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #f59a23;
  opacity: .18;
  transform: translate3d(var(--sceneDecorX, 0px), var(--sceneDecorY, 0px), 0);
}

.dealCardRed::before {
  background: repeating-linear-gradient(90deg, #e5392d 0, #e5392d 22px, #ffffff 22px, #ffffff 44px);
}

.dealCardGreen::before {
  background: repeating-linear-gradient(90deg, #111111 0, #111111 22px, #ffffff 22px, #ffffff 44px);
}

.dealRibbon {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #202020;
  font-size: 13px;
  font-weight: 900;
}

.dealCard h3,
.marketCard h3,
.newsList h3 {
  position: relative;
  margin-bottom: 10px;
  color: #202020;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.priceTag {
  position: relative;
  width: fit-content;
  margin-top: 20px;
  padding: 10px 18px;
  border: 2px solid #202020;
  border-radius: 8px;
  color: #202020;
  background: #ffd83d;
  box-shadow: 4px 4px 0 #e5392d;
  font-size: 17px;
  font-weight: 900;
  transform: rotate(-1deg);
  transition: transform .28s ease;
}

.dealCard:hover .priceTag {
  transform: rotate(1deg) translateY(-3px);
}

.brandStory {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  margin: clamp(68px, 9vw, 112px) 0;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 216, 61, .92), rgba(255, 248, 232, .94)),
    #ffd83d;
  overflow: hidden;
}

.storyGlow {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 154, 35, .32);
  filter: blur(2px);
  transform: translate3d(0, var(--parallaxY, 0px), 0);
}

.brandStory > *:not(.storyGlow) {
  position: relative;
}

.brandStory .sectionLabel {
  margin-bottom: 18px;
  background: #202020;
  box-shadow: 4px 4px 0 #e5392d;
}

.marketSection {
  position: relative;
  margin-bottom: clamp(64px, 9vw, 112px);
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 248, 232, .82)),
    repeating-linear-gradient(0deg, rgba(32, 32, 32, .055) 0 2px, transparent 2px 92px);
  overflow: hidden;
}

.shelfLine {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 14px;
  border-radius: 999px;
  background: rgba(229, 57, 45, .14);
  transform: translate3d(var(--shelfX, 0px), var(--parallaxY, 0px), 0);
}

.shelfLineOne {
  top: 25%;
}

.shelfLineTwo {
  top: 58%;
  background: rgba(255, 216, 61, .28);
}

.marketSection > *:not(.shelfLine) {
  position: relative;
}

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

.marketCard {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(245, 154, 35, .22);
}

.marketCard span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #e5392d;
  box-shadow: 4px 4px 0 #ffd83d;
  font-size: 15px;
  font-weight: 900;
}

.managerSection {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin: clamp(64px, 8vw, 104px) 0;
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid #202020;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 10px 10px 0 #ffd83d;
  overflow: hidden;
}

.managerSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 216, 61, .24), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(229, 57, 45, .08), transparent 28%);
  pointer-events: none;
}

.managerSection > * {
  position: relative;
}

.managerPortrait {
  width: 180px;
  aspect-ratio: 1;
  border: 8px solid #ffd83d;
  border-radius: 50%;
  overflow: hidden;
  background: #fff8e8;
  box-shadow: inset 0 0 0 2px #202020;
  animation: manager-breathe 4.8s ease-in-out infinite;
}

.managerPortrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 73% 18%;
  transform: translate3d(0, var(--parallaxY, 0px), 0) scale(2.25);
  transform-origin: 73% 18%;
}

.managerSection .sectionLabel {
  margin-bottom: 18px;
}

.managerSection p {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.newsSection {
  position: relative;
  margin-bottom: clamp(64px, 8vw, 96px);
  padding: 16px 0;
}

.newsList {
  display: grid;
  gap: 12px;
}

.newsList article {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 20px;
  border: 1px solid rgba(229, 57, 45, .12);
  transform-origin: 18px 0;
}

.newsList article::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd83d;
  box-shadow: 0 0 0 2px rgba(32, 32, 32, .12);
}

.newsList time {
  grid-row: span 2;
  color: #e5392d;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.accessSection {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 94px);
  padding: clamp(26px, 5vw, 52px);
  border-radius: 8px;
  background: #e5392d;
  overflow: hidden;
}

.accessSection::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 28px solid rgba(255, 216, 61, .32);
  border-radius: 50%;
}

.accessSection > * {
  position: relative;
  z-index: 1;
}

.accessSection h2 {
  margin-top: 18px;
  color: #ffffff;
}

.accessSection .sectionLabel {
  color: #202020;
  background: #ffd83d;
  box-shadow: 4px 4px 0 #ffffff;
}

.accessPanel {
  padding: 24px;
}

.accessPanel dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #f0dfc7;
  border-radius: 8px;
  background: #f0dfc7;
}

.accessPanel dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: #ffffff;
}

.accessPanel dt {
  color: #7a542d;
  font-size: 13px;
  font-weight: 900;
}

.accessPanel dd {
  color: #202020;
  font-weight: 800;
}

.mapButton {
  width: 100%;
  margin-top: 18px;
}

.homeFooter {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding: 30px 16px;
  color: #ffffff;
  background: #202020;
}

.homeFooter strong {
  color: #ffd83d;
  font-size: 20px;
  font-weight: 900;
}

.homeFooter span {
  color: #fff8e8;
  font-weight: 800;
}

.homeFooter a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.replayOpeningButton {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 216, 61, .65);
  border-radius: 999px;
  color: #ffd83d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.replayOpeningButton:hover {
  color: #202020;
  background: #ffd83d;
  transform: translateY(-2px);
}

.homeFooter small {
  color: #f0dfc7;
}

.revealOnScroll {
  --revealX: 0px;
  --revealY: 24px;
  --revealRotate: 0deg;
  opacity: 0;
  transform: translate3d(var(--revealX), var(--revealY), 0) rotate(var(--revealRotate));
  transition: opacity .72s ease, transform .72s cubic-bezier(.18, .84, .2, 1);
  transition-delay: var(--revealDelay, 0s);
}

.revealOnScroll.isVisible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}

.marketCard.revealOnScroll.isVisible {
  transform: translate3d(var(--walkShift, 0px), 0, 0);
}

[data-motion="from-left"] {
  --revealX: -46px;
  --revealY: 8px;
}

[data-motion="from-right"] {
  --revealX: 46px;
  --revealY: 8px;
}

[data-motion="from-bottom"] {
  --revealY: 48px;
}

[data-motion="tilt"] {
  --revealX: -18px;
  --revealY: 28px;
  --revealRotate: -1.4deg;
}

[data-motion="walk-left"] {
  --revealX: -64px;
  --walkDirection: -1;
}

[data-motion="walk-right"] {
  --revealX: 64px;
  --walkDirection: 1;
}

[data-motion="pin-down"] {
  --revealY: -28px;
  --revealRotate: -1.2deg;
}

[data-motion="stamp"].isVisible,
.isVisible [data-motion="stamp"] {
  animation: pop-stamp .62s cubic-bezier(.18, .84, .2, 1) both;
}

@keyframes hero-arrive {
  from {
    opacity: .72;
    transform: scale(1.08) translateY(22px);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes awning-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes signboard-in {
  from {
    opacity: 0;
    transform: translate3d(-34px, 28px, 0) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes slide-shop-copy {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ticket-in {
  from {
    opacity: 0;
    transform: translate3d(48px, -20px, 0) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-1.2deg);
  }
}

@keyframes counter-slide {
  from {
    opacity: 0;
    transform: translateX(42px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pop-stamp {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 18px, 0) rotate(-5deg) scale(.88);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(1deg) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes manager-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes word-flood {
  0% {
    opacity: 0;
    transform: translate3d(var(--wordStartX), var(--wordStartY), var(--wordDepthStart, 0px)) rotate(var(--wordRotate, 0deg)) scale(var(--wordScaleStart, 1));
  }
  12% {
    opacity: var(--wordOpacity, .5);
  }
  78% {
    opacity: var(--wordOpacity, .5);
  }
  100% {
    opacity: 0;
    filter: blur(var(--wordBlurEnd, 4px));
    transform: translate3d(var(--wordEndX), var(--wordEndY), var(--wordDepthEnd, 120px)) rotate(calc(var(--wordRotate, 0deg) * -1)) scale(var(--wordScaleEnd, 1.15));
  }
}

@keyframes word-field-exit {
  to {
    opacity: .24;
    filter: blur(5px);
    transform: scale(1.16) translateY(-20px);
  }
}

@keyframes center-copy {
  0% {
    opacity: 0;
    filter: blur(18px);
    transform: scale(.94) translateZ(-120px);
  }
  34%, 68% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateZ(0);
  }
  100% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.05) translateZ(80px);
  }
}

@keyframes opening-pulse {
  0% { opacity: .3; }
  52% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes hallway-camera {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.24) translateY(34px);
  }
  26% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes wall-words {
  from { transform: translateX(-18px); }
  to { transform: translateX(18px); }
}

@keyframes door-open-left {
  to {
    transform: perspective(640px) rotateY(-76deg);
  }
}

@keyframes door-open-right {
  to {
    transform: perspective(640px) rotateY(76deg);
  }
}

@keyframes warm-door-light {
  0% {
    opacity: 0;
    transform: scale(.68);
  }
  100% {
    opacity: 1;
    transform: scale(1.42);
  }
}

@keyframes welcome-title {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translateZ(-240px) scale(.82);
  }
  56% {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) scale(1.08);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateZ(0) scale(1);
  }
}

@keyframes opening-hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes page-after-opening {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.018);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .openingExperience,
  .openingExperience.isPlaying {
    display: none;
  }

  .heroVisual,
  .heroAwning,
  .heroCopy h1,
  .heroLead,
  .heroTicket,
  .storeInfoStrip,
  .managerPortrait,
  [data-motion="stamp"].isVisible,
  .isVisible [data-motion="stamp"] {
    animation: none;
  }

  .heroVisual,
  .heroAwning,
  .heroCopy h1,
  .heroLead,
  .heroTicket,
  .storeInfoStrip,
  .managerPortrait {
    transform: none;
  }

  .revealOnScroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .homeHeader {
    grid-template-columns: 1fr;
  }

  .homeNav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .headerActions {
    overflow-x: auto;
  }

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

@media (max-width: 820px) {
  .heroVisual {
    min-height: 650px;
  }

  .heroVisual::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .74) 45%, rgba(255, 255, 255, .08) 100%),
      linear-gradient(0deg, rgba(32, 32, 32, .18), rgba(32, 32, 32, 0) 42%);
  }

  .storeInfoStrip {
    grid-template-columns: 1fr;
  }

  .sectionIntro,
  .brandStory,
  .managerSection,
  .accessSection {
    grid-template-columns: 1fr;
  }

  .flyerGrid {
    grid-template-columns: 1fr;
  }

  .managerPortrait {
    width: 150px;
  }
}

@media (max-width: 560px) {
  .homePage main {
    width: min(100% - 20px, 1180px);
  }

  .homeHeader {
    gap: 12px;
    padding: 10px;
  }

  .homeLogo small,
  .openBadge {
    display: none;
  }

  .flyerButton {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .heroVisual {
    min-height: 610px;
  }

  .heroCopy {
    left: 16px;
    width: calc(100% - 32px);
  }

  .heroCopy h1 {
    text-shadow: 3px 3px 0 #ffffff, 6px 6px 0 #ffd83d;
  }

  .storeInfoStrip {
    right: 10px;
    bottom: 20px;
    width: calc(100% - 20px);
    box-shadow: 5px 5px 0 #ffd83d;
  }

  .marketGrid {
    grid-template-columns: 1fr;
  }

  .newsList article,
  .accessPanel dl div {
    grid-template-columns: 1fr;
  }

  .newsList time {
    grid-row: auto;
  }
}

/* Brand renewal layer */
body.homePage {
  color: #111111;
  background:
    radial-gradient(circle at 82% 12%, rgba(229, 57, 45, .04), transparent 28%),
    linear-gradient(180deg, #f7f7f4 0%, #ffffff 28%, #eeeeea 100%);
}

body.homePage::before {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, .03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .36;
}

.pageAtmosphere {
  opacity: .22;
  filter: grayscale(.92);
}

.homeHeader {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 17, 17, .1);
  background: rgba(247, 247, 244, .82);
  box-shadow: none;
}

.homeLogoMark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border-color: #111111;
  background: #111111;
  box-shadow: none;
  color: #ffd83d;
}

.homeLogo strong {
  color: #111111;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: .04em;
}

.homeLogo small,
.homeNav a,
.openBadge {
  color: #5f5f58;
}

.homeNav {
  gap: clamp(10px, 1.6vw, 22px);
}

.homeNav a {
  padding: 7px 0;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.homeNav a:hover {
  color: #111111;
  background: transparent;
}

.openBadge {
  border-color: rgba(17, 17, 17, .18);
  background: rgba(255, 255, 255, .58);
}

.flyerButton,
.mapButton {
  min-height: 44px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
  letter-spacing: .04em;
}

.homePage main {
  width: min(1320px, calc(100% - 40px));
}

.heroSection.brandHero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  padding: clamp(22px, 4vw, 58px) 0 clamp(54px, 7vw, 100px);
}

.brandHero .heroVisual {
  min-height: clamp(650px, 82vh, 860px);
  border-radius: 0;
  background: #111111;
  box-shadow: 0 34px 90px rgba(17, 17, 17, .18);
}

.brandHero .heroVisual::after {
  background:
    linear-gradient(90deg, rgba(247, 247, 244, .96) 0%, rgba(247, 247, 244, .82) 30%, rgba(247, 247, 244, .18) 58%, rgba(17, 17, 17, .08) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, .46), transparent 42%);
}

.brandHero .heroAwning {
  width: 96px;
  height: 100%;
  background: #e5392d;
  opacity: .92;
}

.brandHero .heroCopy {
  top: clamp(76px, 11vw, 142px);
  left: clamp(24px, 6vw, 92px);
  width: min(720px, calc(100% - 48px));
}

.brandHero .heroKicker,
.sectionLabel {
  border-radius: 0;
  padding: 0;
  color: #6f6f68;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  letter-spacing: .16em;
}

.brandHero .heroCopy h1 {
  margin: 24px 0 28px;
  color: #111111;
  font-size: clamp(58px, 8.4vw, 132px);
  line-height: .96;
  letter-spacing: -.015em;
  text-shadow: none;
}

.brandHero .heroLead {
  max-width: 620px;
  color: #333333;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.72;
}

.brandHero .heroTicket {
  margin-top: 34px;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 0;
  background: rgba(255, 255, 255, .72);
  box-shadow: none;
  transform: none;
}

.brandHero .heroTicket span {
  color: #77776f;
  letter-spacing: .12em;
}

.brandHero .heroTicket strong {
  color: #e5392d;
}

.brandHero .storeInfoStrip {
  right: clamp(20px, 5vw, 78px);
  bottom: clamp(26px, 5vw, 68px);
  width: min(720px, calc(100% - 40px));
  border: 0;
  border-radius: 0;
  background: rgba(17, 17, 17, .86);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brandHero .storeInfoStrip p {
  background: transparent;
}

.brandHero .storeInfoStrip span {
  color: rgba(255, 255, 255, .44);
  letter-spacing: .12em;
}

.brandHero .storeInfoStrip strong {
  color: #ffffff;
}

.statementSection,
.questionSection,
.experienceSection,
.brandManager,
.brandNotice,
.brandClosing {
  position: relative;
  margin: clamp(84px, 11vw, 150px) 0;
}

.statementSection {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(70px, 9vw, 128px) clamp(22px, 5vw, 78px);
  border-top: 1px solid rgba(17, 17, 17, .12);
  border-bottom: 1px solid rgba(17, 17, 17, .12);
  background: rgba(255, 255, 255, .54);
}

.statementSection h2,
.questionSection h2,
.experienceSection h2,
.brandManager h2,
.brandNotice h2,
.brandClosing h2 {
  color: #111111;
  font-size: clamp(38px, 5.7vw, 82px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.statementSection p,
.questionSection p,
.experienceSection p,
.zonePanel p,
.brandManager p,
.newsList p {
  color: #4d4d47;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 2;
}

.statementSection p {
  max-width: 760px;
  margin-top: 32px;
}

.questionSection {
  min-height: 72vh;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 90px);
  color: #ffffff;
  background: #111111;
  overflow: hidden;
}

.questionSection::after {
  content: "Gorilla certified";
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 72px);
  color: rgba(255, 216, 61, .18);
  font-size: clamp(46px, 10vw, 156px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .82;
}

.questionLine {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
}

.questionLine span {
  color: #ffd83d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.questionLine h2 {
  color: #ffffff;
}

.questionLineAlt h2 {
  color: #d9d9d2;
}

.questionSection p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: rgba(255, 255, 255, .68);
}

.experienceSection {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
  background: #f2f2ef;
  overflow: hidden;
}

.experienceSection .sectionIntro {
  margin: 0 0 clamp(42px, 7vw, 86px);
}

.zoneStack {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
}

.zonePanel {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid rgba(17, 17, 17, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62)),
    #ffffff;
  overflow: hidden;
}

.zonePanel::after {
  content: "";
  position: absolute;
  right: clamp(28px, 7vw, 110px);
  top: clamp(28px, 6vw, 90px);
  width: clamp(110px, 18vw, 240px);
  height: clamp(110px, 18vw, 240px);
  border: 1px solid rgba(17, 17, 17, .12);
  background: repeating-linear-gradient(135deg, rgba(17, 17, 17, .08) 0 1px, transparent 1px 13px);
}

.zonePanelDark {
  background: #111111;
}

.zonePanelDark h3,
.zonePanelDark p,
.zonePanelDark .zoneNumber {
  color: #ffffff;
}

.zonePanel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #111111;
  font-size: clamp(34px, 5vw, 74px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.zoneNumber {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(58px, 10vw, 130px);
  color: #e5392d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.zonePanel p {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.zonePanel em {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(229, 57, 45, .28);
  color: #e5392d;
  background: rgba(255, 255, 255, .72);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.brandManager {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
  padding: clamp(42px, 7vw, 100px);
  border: 1px solid rgba(17, 17, 17, .12);
  background: #ffffff;
  box-shadow: none;
}

.brandManager::before {
  background: radial-gradient(circle at 18% 42%, rgba(17, 17, 17, .05), transparent 34%);
}

.brandManager .managerPortrait {
  width: min(100%, 420px);
  border: 0;
  border-radius: 0;
  background: #111111;
  box-shadow: 18px 18px 0 #111111;
}

.brandManager .managerPortrait img {
  transform: translate3d(0, var(--parallaxY, 0px), 0) scale(1.72);
  object-position: 72% 24%;
}

.managerTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.managerTags span {
  padding: 8px 11px;
  border: 1px solid rgba(17, 17, 17, .16);
  color: #111111;
  background: #f7f7f4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.brandNotice {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
  padding: clamp(46px, 7vw, 90px) 0;
  border-top: 1px solid rgba(17, 17, 17, .12);
  border-bottom: 1px solid rgba(17, 17, 17, .12);
}

.brandNotice > .sectionLabel,
.brandNotice > h2 {
  grid-column: 1;
}

.brandNotice .newsList {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.brandNotice .newsList article {
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, .12);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.brandClosing {
  border-radius: 0;
  background: #111111;
}

.brandClosing h2 {
  color: #ffffff;
}

.brandClosing .accessPanel {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
}

.brandClosing .accessPanel dl {
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .12);
}

.brandClosing .accessPanel dl div {
  background: #111111;
}

.brandClosing .accessPanel dt {
  color: rgba(255, 255, 255, .48);
}

.brandClosing .accessPanel dd {
  color: #ffffff;
}

.homeFooter {
  background: #0a0a0a;
}

@media (max-width: 900px) {
  .statementSection,
  .brandManager,
  .brandNotice,
  .accessSection {
    grid-template-columns: 1fr;
  }

  .brandNotice > .sectionLabel,
  .brandNotice > h2,
  .brandNotice .newsList {
    grid-column: auto;
    grid-row: auto;
  }

  .questionLine {
    grid-template-columns: 1fr;
  }

  .brandHero .heroVisual {
    min-height: 720px;
  }
}

/* Official website top page */
body.officialHome {
  min-width: 0;
  overflow-x: hidden;
  color: #f4f4f1;
  background: #050505;
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.officialHome * {
  box-sizing: border-box;
}

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

.siteHeader {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(150px, .5fr) minmax(520px, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 18px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .18));
  transition: background .25s ease, min-height .25s ease;
}

.siteHeader.isScrolled {
  min-height: 76px;
  background: rgba(5, 5, 5, .88);
  backdrop-filter: blur(18px);
}

.brandLogo {
  width: max-content;
  display: grid;
  grid-template-columns: auto 20px;
  align-items: end;
  gap: 7px;
}

.brandLogoJa {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.brandLogoJa strong {
  display: block;
  margin-top: 2px;
  font-size: 42px;
  letter-spacing: .02em;
  line-height: .9;
}

.brandSeal {
  width: 18px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #e53935;
  color: #e53935;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.brandLogoEn {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.siteNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 46px);
}

.siteNav a {
  position: relative;
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.siteNav a::after {
  content: "";
  width: 0;
  height: 1px;
  margin: 7px auto 0;
  background: #f8c537;
  transition: width .2s ease;
}

.siteNav a:hover::after,
.siteNav a:first-child::after {
  width: 44px;
}

.siteNav span,
.storeButton span {
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.storeButton {
  position: relative;
  min-width: 150px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, .62);
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, .14);
}

.storeButton::after {
  content: "->";
  position: absolute;
  right: 18px;
  top: 17px;
}

.cinemaHero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: #040505;
}

.heroScene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nightSky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 21, .9), rgba(2, 2, 2, .96) 62%, #030303),
    linear-gradient(115deg, transparent 0 45%, rgba(90, 101, 108, .18) 52%, transparent 64%);
}

.nightSky::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 24%;
  width: 54vw;
  height: 18vh;
  background: linear-gradient(100deg, transparent, rgba(190, 196, 196, .14), transparent);
  filter: blur(22px);
  opacity: .6;
}

.storeBuilding {
  position: absolute;
  left: 12vw;
  right: 6vw;
  bottom: 21vh;
  height: min(34vh, 340px);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .98) 0 86px, rgba(28, 28, 28, .98) 86px 88px),
    #121212;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .72);
  transform: perspective(1100px) rotateY(-6deg) skewY(-1.5deg);
  transform-origin: right center;
}

.storeSign {
  position: absolute;
  top: 16%;
  left: 44%;
  color: #fff;
  font-size: clamp(22px, 3vw, 52px);
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 0 12px rgba(255, 255, 255, .54), 0 0 28px rgba(255, 255, 255, .28);
}

.glassFront {
  position: absolute;
  left: 7%;
  right: 5%;
  bottom: 0;
  height: 42%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 218, 143, .12), rgba(24, 15, 6, .2));
}

.glassFront span {
  border-right: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(180deg, rgba(255, 206, 120, .5), rgba(255, 156, 52, .2) 44%, rgba(0, 0, 0, .2)),
    linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, .18) 19% 20%, transparent 21%);
}

.warmDoor {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 9%;
  height: 52%;
  background: linear-gradient(180deg, #fff5d8, #ffb55c 45%, rgba(255, 175, 81, .42));
  box-shadow: 0 0 50px rgba(255, 190, 88, .48);
}

.rainReflection {
  position: absolute;
  left: -6vw;
  right: -6vw;
  bottom: 0;
  height: 28vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .78)),
    repeating-linear-gradient(176deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 13px);
  transform: skewY(-2deg);
}

.rainReflection span {
  position: absolute;
  bottom: 24%;
  width: 18vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 85, .62), transparent);
  filter: blur(.6px);
}

.rainReflection span:nth-child(1) { left: 17%; }
.rainReflection span:nth-child(2) { left: 43%; width: 26vw; }
.rainReflection span:nth-child(3) { left: 68%; width: 14vw; }
.rainReflection span:nth-child(4) { left: 52%; bottom: 48%; width: 38vw; opacity: .5; }

.heroText {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 40px));
  margin-top: 8vh;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .78);
}

.heroEyebrow,
.sectionIndex {
  color: #f8c537;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.heroText h1 {
  margin-top: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 5vw, 78px);
  font-weight: 500;
  line-height: 1.55;
}

.heroText p:last-child {
  width: min(560px, 100%);
  margin: 26px auto 0;
  color: rgba(255, 255, 255, .82);
  line-height: 2;
}

.scrollCue {
  position: absolute;
  left: clamp(24px, 4vw, 64px);
  bottom: 11vh;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scrollCue::after {
  content: "";
  width: 1px;
  height: 52px;
  background: linear-gradient(#f8c537, rgba(255, 255, 255, .35));
}

.conceptSection,
.storeSection,
.categorySection,
.machioSection,
.newsSectionOfficial,
.recruitSection {
  padding: clamp(72px, 10vw, 150px) clamp(22px, 5vw, 84px);
  background: #050505;
}

.conceptSection {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.conceptGrid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, .8fr);
  gap: clamp(42px, 8vw, 140px);
  align-items: start;
  margin-top: 32px;
}

.ghostType {
  display: block;
  margin-bottom: -12px;
  color: rgba(255, 255, 255, .055);
  font-size: clamp(70px, 13vw, 210px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: .78;
}

.conceptGrid h2,
.sectionHeading h2,
.categoryHeader h2,
.machioCopy h2,
.newsSectionOfficial h2,
.recruitSection h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(28px, 3.7vw, 58px);
  font-weight: 700;
  line-height: 1.45;
}

.conceptCopy {
  display: grid;
  gap: 22px;
  color: rgba(255, 255, 255, .78);
  line-height: 2.15;
}

.storeSection,
.machioSection,
.recruitSection {
  background: #f8f8f6;
  color: #111;
}

.storeSection .sectionIndex {
  color: #111;
}

.sectionHeading {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.interiorScene {
  position: relative;
  height: clamp(420px, 58vw, 680px);
  overflow: hidden;
  border: 1px solid #d7d7d2;
  background: linear-gradient(180deg, #fdfdfb 0 28%, #efefeb 28% 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .12);
}

.ceilingLines {
  position: absolute;
  inset: 0 0 48%;
  background:
    repeating-linear-gradient(90deg, transparent 0 7.6%, rgba(0, 0, 0, .08) 7.7% 7.9%, transparent 8% 15%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(0, 0, 0, .06) 19px 20px);
  transform: perspective(800px) rotateX(58deg) scaleY(1.8);
  transform-origin: top center;
}

.ceilingLines::after {
  content: "";
  position: absolute;
  inset: 28% 8% auto;
  height: 18px;
  background: repeating-linear-gradient(90deg, #fff 0 11%, transparent 11% 17%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .12));
}

.aisle {
  position: absolute;
  left: 35%;
  right: 34%;
  bottom: -10%;
  height: 62%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), #e5e5e1);
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
}

.wallLogo {
  position: absolute;
  right: 6%;
  top: 18%;
  color: #242424;
  font-size: clamp(32px, 5vw, 82px);
  font-weight: 900;
  line-height: .9;
}

.hangingSigns {
  position: absolute;
  left: 22%;
  right: 26%;
  top: 13%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.hangingSigns span {
  position: relative;
  min-width: 92px;
  padding: 17px 12px;
  color: #fff;
  background: #080808;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .2);
}

.hangingSigns span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 64px;
  background: #151515;
}

.shelf {
  position: absolute;
  bottom: 10%;
  width: 26%;
  height: 44%;
  border: 8px solid #1c1c1b;
  background:
    linear-gradient(0deg, transparent 32%, #1c1c1b 33% 35%, transparent 36% 65%, #1c1c1b 66% 68%, transparent 69%),
    repeating-linear-gradient(90deg, #caa979 0 13%, #e9e2d6 13% 21%, #353535 21% 28%);
}

.shelfLeft {
  left: 4%;
  transform: perspective(650px) rotateY(18deg);
}

.shelfRight {
  right: 4%;
  transform: perspective(650px) rotateY(-18deg);
}

.displayTable {
  position: absolute;
  left: 39%;
  bottom: 12%;
  width: 22%;
  height: 20%;
  border: 6px solid #1a1a19;
  background: linear-gradient(#c7a36d 0 30%, #1a1a19 30% 38%, #d6c4aa 38% 100%);
}

.displayTable span {
  position: absolute;
  bottom: 100%;
  width: 38px;
  height: 46px;
  background: #f5f1e9;
  border: 1px solid #cfc8bc;
}

.displayTable span:nth-child(1) { left: 9%; height: 34px; }
.displayTable span:nth-child(2) { left: 31%; }
.displayTable span:nth-child(3) { left: 54%; height: 40px; background: #222; }
.displayTable span:nth-child(4) { left: 76%; height: 30px; }

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cfcfca;
  border-bottom: 1px solid #cfcfca;
  margin-top: 34px;
}

.featureGrid article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid #cfcfca;
}

.featureGrid article:last-child {
  border-right: 0;
}

.featureGrid span {
  color: #f8b000;
  font-size: 34px;
  font-weight: 800;
}

.featureGrid h3 {
  margin-top: 16px;
  font-size: 24px;
}

.featureGrid p,
.categoryHeader p,
.machioCopy p {
  margin-top: 14px;
  color: rgba(0, 0, 0, .65);
  line-height: 1.9;
}

.categorySection {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.categoryHeader {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
}

.categoryHeader p {
  color: rgba(255, 255, 255, .7);
}

.categoryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(34px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, .17);
  border-left: 1px solid rgba(255, 255, 255, .17);
}

.categoryGrid span {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, .17);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 700;
}

.categoryGrid span:nth-child(4n + 2)::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-bottom: 11px;
  background: #f8c537;
}

.categoryGrid span:nth-child(7)::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 12px;
  background: #e53935;
}

.machioSection {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(320px, .92fr);
  gap: clamp(34px, 8vw, 130px);
  align-items: center;
}

.machioCopy h2,
.recruitSection h2 {
  color: #111;
}

.machioCard {
  min-height: 500px;
  display: grid;
  place-items: end center;
  border: 1px solid #d0d0ca;
  background: linear-gradient(180deg, #fff, #ecece8);
}

.machioSilhouette {
  position: relative;
  width: min(330px, 74%);
  height: 410px;
}

.machioHead,
.machioBody {
  position: absolute;
  left: 50%;
  display: block;
  background: #f8f8f6;
  border: 1px solid #d9d9d4;
  box-shadow: inset -22px 0 40px rgba(0, 0, 0, .08);
  transform: translateX(-50%);
}

.machioHead {
  top: 10px;
  width: 170px;
  height: 146px;
  border-radius: 48% 48% 42% 42%;
}

.machioHead::before,
.machioHead::after {
  content: "";
  position: absolute;
  top: 58px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1b1b1a;
}

.machioHead::before { left: 48px; }
.machioHead::after { right: 48px; }

.machioBody {
  bottom: 0;
  width: 280px;
  height: 300px;
  border-radius: 45% 45% 10% 10%;
}

.machioApron {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 168px;
  height: 210px;
  display: grid;
  place-items: start center;
  padding-top: 48px;
  color: #fff;
  background: #e53935;
  font-size: 46px;
  font-weight: 900;
  transform: translateX(-50%);
}

.toneList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.toneList span {
  padding: 10px 14px;
  border: 1px solid #c9c9c3;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.officialNewsList {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.officialNewsList article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.officialNewsList time {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 800;
}

.officialNewsList h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.recruitSection {
  min-height: 52vh;
  display: grid;
  align-content: center;
}

.lineLink {
  width: max-content;
  margin-top: 34px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f8c537;
  font-weight: 800;
}

.lineLink::after {
  content: "  ->";
}

.officialFooter {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 84px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #050505;
  color: rgba(255, 255, 255, .72);
}

.footerLogo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.officialFooter small {
  color: rgba(255, 255, 255, .45);
}

.revealSection {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease var(--revealDelay, 0s), transform .65s ease var(--revealDelay, 0s);
}

.revealSection.isVisible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .siteHeader {
    grid-template-columns: auto 1fr;
  }

  .siteNav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .storeButton {
    justify-self: end;
  }

  .storeBuilding {
    left: 7vw;
    right: -16vw;
  }

  .conceptGrid,
  .sectionHeading,
  .categoryHeader,
  .machioSection {
    grid-template-columns: 1fr;
  }

  .featureGrid {
    grid-template-columns: 1fr;
  }

  .featureGrid article {
    border-right: 0;
    border-bottom: 1px solid #cfcfca;
  }

  .featureGrid article:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 720px) {
  .siteHeader {
    min-height: 76px;
    padding: 14px 18px;
    background: rgba(5, 5, 5, .88);
  }

  .brandLogoJa {
    font-size: 12px;
  }

  .brandLogoJa strong {
    font-size: 30px;
  }

  .brandLogoEn,
  .brandSeal,
  .siteNav {
    display: none;
  }

  .storeButton {
    min-width: 116px;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .storeButton::after {
    right: 12px;
    top: 11px;
  }

  .cinemaHero {
    min-height: 100svh;
    place-items: end center;
    padding-bottom: 19vh;
  }

  .storeBuilding {
    left: 2vw;
    right: -46vw;
    bottom: 28vh;
    height: 26vh;
  }

  .storeSign {
    left: 30%;
    top: 18%;
  }

  .heroText {
    width: calc(100% - 34px);
    margin-top: 0;
  }

  .heroText h1 {
    margin-top: 18px;
    font-size: clamp(31px, 11vw, 48px);
    line-height: 1.5;
  }

  .scrollCue {
    left: 18px;
    bottom: 8vh;
  }

  .conceptSection,
  .storeSection,
  .categorySection,
  .machioSection,
  .newsSectionOfficial,
  .recruitSection {
    padding: 68px 18px;
  }

  .ghostType {
    font-size: 58px;
  }

  .interiorScene {
    height: 500px;
  }

  .wallLogo {
    top: 12%;
    right: 5%;
    font-size: 40px;
  }

  .hangingSigns {
    left: 7%;
    right: 7%;
    top: 25%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hangingSigns span {
    min-width: 0;
    padding: 12px 8px;
    font-size: 10px;
  }

  .shelf {
    width: 34%;
    height: 35%;
    bottom: 8%;
  }

  .displayTable {
    left: 34%;
    width: 32%;
  }

  .categoryGrid {
    grid-template-columns: 1fr;
  }

  .categoryGrid span {
    min-height: 78px;
  }

  .machioCard {
    min-height: 420px;
  }

  .machioSilhouette {
    height: 340px;
  }

  .machioHead {
    width: 138px;
    height: 120px;
  }

  .machioBody {
    width: 230px;
    height: 246px;
  }

  .machioApron {
    width: 138px;
    height: 172px;
  }

  .officialNewsList article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .officialFooter {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteHeader,
  .revealSection {
    transition: none;
  }
}

/* Official website top page refinement */
body.officialHome {
  --site-black: #050505;
  --site-ink: #111111;
  --site-white: #f8f8f6;
  --site-paper: #eeeeea;
  --site-line: rgba(255, 255, 255, .16);
  --site-line-dark: rgba(17, 17, 17, .16);
  --site-yellow: #f8c537;
  --site-red: #e53935;
  background: var(--site-black);
}

.siteHeader {
  min-height: 104px;
  grid-template-columns: minmax(170px, .42fr) minmax(540px, 1fr) minmax(150px, auto);
  padding: 22px clamp(26px, 4.2vw, 74px);
  border-bottom-color: rgba(255, 255, 255, .1);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .28) 72%, transparent),
    linear-gradient(90deg, rgba(255, 255, 255, .04), transparent 30%, transparent 70%, rgba(255, 255, 255, .035));
}

.siteHeader.isScrolled {
  min-height: 82px;
  background: rgba(5, 5, 5, .9);
}

.brandLogoJa {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.brandLogoJa strong {
  margin-top: 4px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: .04em;
}

.brandLogoEn {
  margin-top: 4px;
  font-size: 10px;
}

.siteNav {
  gap: clamp(20px, 3vw, 52px);
}

.siteNav a {
  font-size: 13px;
  font-weight: 700;
}

.siteNav span {
  font-size: 10px;
}

.storeButton {
  min-height: 62px;
  border-color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .34);
}

.cinemaHero {
  min-height: 100svh;
  isolation: isolate;
}

.cinemaHero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .74), transparent 28%, transparent 72%, rgba(0, 0, 0, .68)),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 40%, rgba(0, 0, 0, .42));
}

.heroScene {
  background: #030404;
}

.nightSky {
  background:
    radial-gradient(ellipse at 54% 18%, rgba(86, 96, 106, .32), transparent 28%),
    linear-gradient(180deg, #070b0d 0%, #030303 72%, #020202 100%);
}

.nightSky::before {
  top: 6%;
  left: 26%;
  width: 44vw;
  height: 26vh;
  background: linear-gradient(98deg, transparent 5%, rgba(190, 196, 196, .18), transparent 72%);
  filter: blur(28px);
}

.nightSky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 46%, rgba(255, 255, 255, .04) 46% 47%, transparent 47%),
    linear-gradient(104deg, transparent 0 54%, rgba(255, 255, 255, .035) 54% 55%, transparent 55%);
}

.distantLights {
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 27vh;
  height: 20px;
  opacity: .8;
}

.distantLights span {
  position: absolute;
  bottom: 0;
  width: 8vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 198, 101, .8), transparent);
}

.distantLights span:nth-child(1) { left: 4%; }
.distantLights span:nth-child(2) { left: 18%; width: 5vw; }
.distantLights span:nth-child(3) { left: 70%; width: 9vw; }
.distantLights span:nth-child(4) { left: 83%; width: 4vw; }
.distantLights span:nth-child(5) { left: 56%; width: 3vw; }

.storeBuilding {
  left: 10vw;
  right: 4vw;
  bottom: 22vh;
  height: min(33vh, 330px);
  overflow: visible;
  background: #101111;
  border-color: rgba(255, 255, 255, .08);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, .8),
    inset 0 1px rgba(255, 255, 255, .06);
  transform: perspective(1300px) rotateY(-7deg) skewY(-1.2deg);
}

.facadeLines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 255, 255, .055) 93px 94px),
    repeating-linear-gradient(0deg, transparent 0 68px, rgba(255, 255, 255, .035) 69px 70px),
    linear-gradient(180deg, #151616, #080808);
}

.storeBuilding::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -2%;
  bottom: -13px;
  height: 14px;
  background: #050505;
  box-shadow: 0 0 34px rgba(255, 184, 85, .16);
}

.storeSign {
  top: 17%;
  left: 43%;
  font-size: clamp(25px, 3.7vw, 62px);
  font-weight: 900;
}

.glassFront {
  left: 5%;
  right: 7%;
  bottom: 0;
  height: 47%;
  gap: 0;
  border-top-color: rgba(255, 255, 255, .18);
}

.glassFront span {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 230, 183, .72), rgba(255, 170, 70, .26) 48%, rgba(30, 18, 7, .24)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, .14) 25px 26px);
}

.glassFront span::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 20%;
  bottom: 22%;
  height: 22%;
  background:
    linear-gradient(90deg, #171717 0 12%, transparent 12% 28%, #171717 28% 40%, transparent 40% 58%, #171717 58% 72%, transparent 72%);
  opacity: .38;
}

.warmDoor {
  right: 8%;
  width: 8%;
  height: 57%;
}

.rainReflection {
  height: 31vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .86)),
    repeating-linear-gradient(176deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(255, 180, 73, .08), transparent 32%, rgba(255, 255, 255, .05) 58%, transparent);
}

.rainReflection::before {
  content: "SUPER MACHIO";
  position: absolute;
  left: 45%;
  top: 18%;
  color: rgba(255, 255, 255, .11);
  font-size: clamp(24px, 4vw, 58px);
  font-weight: 900;
  filter: blur(1px);
  transform: scaleY(-1) skewX(-10deg);
}

.heroText {
  z-index: 3;
  margin-top: 7vh;
}

.heroEyebrow {
  color: rgba(255, 255, 255, .72);
}

.heroText h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.3vw, 86px);
  line-height: 1.42;
  text-wrap: balance;
}

.heroText p:last-child {
  margin-top: 24px;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(14px, 1.2vw, 17px);
}

.heroMeta {
  position: absolute;
  z-index: 3;
  right: clamp(26px, 4.2vw, 74px);
  bottom: 8.5vh;
  display: flex;
  gap: 8px;
}

.heroMeta span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.conceptSection {
  position: relative;
  padding-top: clamp(82px, 9vw, 140px);
  background:
    linear-gradient(180deg, #050505, #0a0a0a 55%, #050505),
    #050505;
}

.conceptSection::before {
  content: "";
  position: absolute;
  left: clamp(22px, 5vw, 84px);
  right: clamp(22px, 5vw, 84px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
}

.conceptGrid {
  grid-template-columns: minmax(360px, .92fr) minmax(320px, .72fr);
}

.ghostType {
  color: rgba(255, 255, 255, .045);
  font-size: clamp(82px, 14vw, 232px);
}

.conceptGrid h2,
.categoryHeader h2,
.newsSectionOfficial h2 {
  font-size: clamp(32px, 4.2vw, 64px);
}

.conceptCopy {
  padding-top: 28px;
  color: rgba(255, 255, 255, .76);
}

.brandRuleStrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(46px, 6vw, 86px);
  border-top: 1px solid var(--site-line);
  border-left: 1px solid var(--site-line);
}

.brandRuleStrip span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-weight: 800;
}

.brandRuleStrip span:nth-child(2) {
  color: var(--site-yellow);
}

.brandRuleStrip span:nth-child(4)::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  background: var(--site-red);
}

.storeSection {
  padding-top: clamp(80px, 8vw, 128px);
  background: #f7f7f4;
}

.sectionHeading h2 {
  color: #111;
}

.interiorScene {
  height: clamp(520px, 61vw, 760px);
  border: 0;
  background:
    linear-gradient(180deg, #ffffff 0 27%, #f2f2ef 27% 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .13);
}

.interiorScene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 18%, transparent 82%, rgba(0, 0, 0, .08)),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .08));
  pointer-events: none;
}

.ceilingLines {
  inset: -14% -8% 49%;
  opacity: .85;
}

.trackLights {
  position: absolute;
  left: 12%;
  right: 10%;
  top: 9%;
  display: flex;
  justify-content: space-between;
}

.trackLights span {
  width: 2px;
  height: 132px;
  background: rgba(0, 0, 0, .18);
}

.trackLights span::after {
  content: "";
  display: block;
  width: 76px;
  height: 7px;
  margin: 126px 0 0 -37px;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 12px rgba(0, 0, 0, .08);
}

.aisle {
  left: 31%;
  right: 31%;
  bottom: -14%;
  height: 65%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .52) 44% 56%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, .86), #ddddda);
}

.wallLogo {
  right: 5%;
  top: 15%;
  color: #262626;
  letter-spacing: .02em;
}

.hangingSigns {
  left: 18%;
  right: 28%;
  top: 16%;
}

.hangingSigns span {
  min-width: 112px;
  padding: 18px 14px;
}

.shelf {
  bottom: 9%;
  height: 47%;
  background:
    linear-gradient(0deg, transparent 30%, #1c1c1b 31% 33%, transparent 34% 63%, #1c1c1b 64% 66%, transparent 67%),
    repeating-linear-gradient(90deg, #d9c29d 0 9%, #f4f1eb 9% 16%, #2b2b2a 16% 21%, #e0d7c8 21% 28%);
}

.shelfLeft {
  left: 3%;
  width: 28%;
}

.shelfRight {
  right: 3%;
  width: 28%;
}

.displayTable {
  left: 37%;
  bottom: 14%;
  width: 26%;
  height: 22%;
}

.displayTable::before,
.displayTable::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 8px;
  height: 72px;
  background: #1a1a19;
}

.displayTable::before { left: 12%; }
.displayTable::after { right: 12%; }

.plantAccent {
  position: absolute;
  left: 41%;
  bottom: 32%;
  width: 92px;
  height: 84px;
}

.plantAccent span {
  position: absolute;
  bottom: 0;
  width: 46px;
  height: 62px;
  border-radius: 50% 50% 10% 10%;
  background: #2f5a37;
  transform-origin: bottom center;
}

.plantAccent span:nth-child(1) { left: 4px; transform: rotate(-18deg); }
.plantAccent span:nth-child(2) { left: 28px; height: 78px; background: #436f42; }
.plantAccent span:nth-child(3) { left: 50px; transform: rotate(18deg); }

.featureGrid {
  background: #f7f7f4;
}

.categorySection {
  background:
    linear-gradient(180deg, #050505, #080808),
    #050505;
}

.categoryGrid span {
  position: relative;
  justify-items: start;
  padding: 24px;
  place-items: center start;
}

.categoryGrid span::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, .36);
}

.categoryGrid span:nth-child(7)::after {
  height: 1px;
  background: var(--site-red);
}

.visitSection {
  padding: clamp(72px, 8vw, 124px) clamp(22px, 5vw, 84px);
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.visitFlow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--site-line);
  border-left: 1px solid var(--site-line);
}

.visitFlow article {
  min-height: 270px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.visitFlow span {
  color: var(--site-yellow);
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 900;
  line-height: 1;
}

.visitFlow h3 {
  margin-top: 30px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
}

.visitFlow p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.9;
}

.machioSection {
  background:
    linear-gradient(90deg, #f7f7f4 0 48%, #ecece8 48%),
    #f7f7f4;
}

.machioCard {
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 44% 20%, #ffffff 0 16%, transparent 17%),
    linear-gradient(180deg, #ffffff, #ecece8);
  box-shadow: inset 0 0 0 1px #d7d7d1;
}

.machioSilhouette {
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .16));
}

.machioHead,
.machioBody {
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .75) 0 4px, rgba(226, 226, 220, .65) 4px 7px),
    #f7f7f2;
}

.machioHead::before,
.machioHead::after {
  box-shadow: 0 16px 0 10px rgba(40, 40, 38, .08);
}

.newsSectionOfficial {
  background: #050505;
}

.recruitSection {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .05) 0 1px, transparent 1px 12%),
    #f7f7f4;
}

.officialFooter {
  min-height: 150px;
}

@media (max-width: 1080px) {
  .siteHeader {
    min-height: 92px;
  }

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

  .interiorScene {
    height: 650px;
  }
}

@media (max-width: 720px) {
  .siteHeader {
    min-height: 70px;
  }

  .brandLogoJa strong {
    font-size: 34px;
  }

  .cinemaHero {
    padding-bottom: 17vh;
  }

  .storeBuilding {
    left: -4vw;
    right: -62vw;
    bottom: 31vh;
    height: 24vh;
    transform: perspective(900px) rotateY(-9deg) skewY(-1.2deg);
  }

  .glassFront {
    height: 52%;
  }

  .heroText h1 {
    font-size: clamp(34px, 10.5vw, 52px);
  }

  .heroMeta {
    left: 18px;
    right: 18px;
    bottom: 3.6vh;
    justify-content: space-between;
    gap: 5px;
  }

  .heroMeta span {
    padding: 7px 6px;
    font-size: 8px;
  }

  .brandRuleStrip,
  .visitFlow {
    grid-template-columns: 1fr;
  }

  .conceptGrid {
    grid-template-columns: 1fr;
  }

  .conceptCopy {
    padding-top: 0;
  }

  .interiorScene {
    height: 560px;
  }

  .trackLights {
    left: 12%;
    right: 12%;
    top: 8%;
  }

  .trackLights span {
    height: 90px;
  }

  .trackLights span::after {
    width: 46px;
    margin: 86px 0 0 -22px;
  }

  .wallLogo {
    top: 12%;
    right: 5%;
    font-size: 34px;
  }

  .hangingSigns {
    top: 27%;
  }

  .shelfLeft {
    left: -6%;
    width: 39%;
  }

  .shelfRight {
    right: -6%;
    width: 39%;
  }

  .plantAccent {
    left: 38%;
    bottom: 34%;
    transform: scale(.78);
  }

  .visitFlow article {
    min-height: 220px;
  }

  .machioSection {
    background: #f7f7f4;
  }
}

/* Super Machio official top page final pass */
body.officialHome {
  --machio-black: #050505;
  --machio-ink: #111111;
  --machio-paper: #f7f7f4;
  --machio-white: #ffffff;
  --machio-line: rgba(255, 255, 255, .16);
  --machio-line-dark: rgba(17, 17, 17, .16);
  --machio-yellow: #f8c537;
  --machio-red: #e53935;
  min-width: 0;
  overflow-x: hidden;
  color: var(--machio-paper);
  background: var(--machio-black);
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

body.officialHome.introPending,
body.officialHome.introPlaying {
  height: 100vh;
  overflow: hidden;
}

body.officialHome.introPending .siteHeader,
body.officialHome.introPending main,
body.officialHome.introPending .officialFooter,
body.officialHome.introPlaying .siteHeader,
body.officialHome.introPlaying main,
body.officialHome.introPlaying .officialFooter {
  opacity: 0;
  pointer-events: none;
}

body.officialHome.introHeroReveal main {
  opacity: 1;
}

body.officialHome.introHeroReveal .siteHeader,
body.officialHome.introHeroReveal .officialFooter {
  opacity: 0;
  pointer-events: none;
}

.siteIntro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
  transition: opacity 1.05s ease, visibility 1.05s ease;
}

.siteIntro.isFinished {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.siteIntro.isSkipped {
  transition: none;
}

.introSkip {
  position: absolute;
  z-index: 6;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 38px);
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  color: rgba(255, 255, 255, .78);
  background: rgba(0, 0, 0, .24);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.introRoad {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(68, 76, 82, .28), transparent 34%),
    linear-gradient(180deg, #05080a 0%, #020202 62%, #000 100%);
}

.introRoad::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12vh;
  width: min(920px, 92vw);
  height: 86vh;
  background:
    linear-gradient(90deg, transparent 0 49.6%, rgba(255, 255, 255, .28) 49.7% 50.3%, transparent 50.4%),
    repeating-linear-gradient(180deg, transparent 0 44px, rgba(255, 255, 255, .06) 45px 46px),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01) 35%, rgba(0, 0, 0, .86));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  opacity: .75;
  transform: translateX(-50%) rotateX(62deg);
  transform-origin: bottom center;
}

.introRoad::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86), transparent 32%, transparent 68%, rgba(0, 0, 0, .86)),
    linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 58%, rgba(0, 0, 0, .48));
}

.introRain {
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    repeating-linear-gradient(104deg, transparent 0 18px, rgba(255, 255, 255, .16) 19px 20px),
    repeating-linear-gradient(176deg, transparent 0 14px, rgba(255, 255, 255, .06) 15px 16px);
  animation: introRainMove 1.1s linear infinite;
}

.introWordField {
  position: absolute;
  z-index: 3;
  inset: 0;
  transform-style: preserve-3d;
}

.introWordField span {
  position: absolute;
  left: 50%;
  top: 52%;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2.8vw, 54px);
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 0 26px rgba(255, 255, 255, .2);
  transform: translate3d(var(--x), 18vh, 520px) scale(2.1);
}

.siteIntro.isPlaying .introWordField span {
  animation: introWordTunnel 3.5s cubic-bezier(.2, .78, .22, 1) forwards;
  animation-delay: calc(var(--i) * .28s);
}

.introStore {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 16vh;
  width: min(620px, 76vw);
  height: min(320px, 38vh);
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    repeating-linear-gradient(90deg, #090909 0 72px, #151515 73px 74px),
    #111;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .88);
  transform: translateX(-50%) scale(.68);
  opacity: .58;
}

.introSign {
  position: absolute;
  top: 14%;
  left: 50%;
  color: #fff;
  font-size: clamp(21px, 4vw, 56px);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(255, 255, 255, .54), 0 0 46px rgba(255, 255, 255, .24);
  transform: translateX(-50%);
}

.introDoor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(250px, 42vw);
  height: 58%;
  overflow: visible;
  transform: translateX(-50%);
  transform-style: preserve-3d;
}

.introDoorLeft,
.introDoorRight {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, #101010, #050505);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, .04);
}

.introDoorLeft {
  left: 0;
  transform-origin: left center;
}

.introDoorRight {
  right: 0;
  transform-origin: right center;
}

.introLight {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 52%, #fff 0 8%, #ffd99a 22%, rgba(255, 184, 78, .62) 45%, transparent 72%);
  filter: blur(6px);
  opacity: 0;
  transform: scale(.7);
}

.siteIntro.isPlaying .introStore {
  animation: introStoreApproach 4.2s cubic-bezier(.16, .75, .2, 1) forwards;
}

.siteIntro.isPlaying .introDoorLeft {
  animation: introDoorLeftOpen 1.1s ease forwards;
  animation-delay: 4.2s;
}

.siteIntro.isPlaying .introDoorRight {
  animation: introDoorRightOpen 1.1s ease forwards;
  animation-delay: 4.2s;
}

.siteIntro.isPlaying .introLight {
  animation: introLightBloom 1.8s ease forwards;
  animation-delay: 4.05s;
}

.introReflection {
  position: absolute;
  z-index: 1;
  left: -8vw;
  right: -8vw;
  bottom: 0;
  height: 34vh;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 193, 101, .34), transparent 42%),
    repeating-linear-gradient(176deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .86));
  transform: skewY(-2deg);
}

.introWelcome {
  position: relative;
  z-index: 5;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(46px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, .36), 0 0 80px rgba(255, 190, 90, .38);
  transform: translateY(20px) scale(.96);
}

.siteIntro.isPlaying .introWelcome {
  animation: introWelcomeIn 1.6s ease forwards;
  animation-delay: 5.18s;
}

.siteHeader,
.officialHome main,
.officialFooter {
  transition: opacity .65s ease;
}

.officialHome.introDone .siteHeader,
.officialHome.introDone main,
.officialHome.introDone .officialFooter {
  opacity: 1;
}

.siteHeader {
  min-height: 104px;
  grid-template-columns: minmax(170px, .44fr) minmax(540px, 1fr) minmax(160px, auto);
  padding: 22px clamp(22px, 4vw, 72px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .22) 74%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.brandLogoJa {
  font-size: 15px;
  font-weight: 900;
  line-height: .9;
}

.brandLogoJa strong {
  margin-top: 5px;
  font-size: 50px;
  font-weight: 900;
  line-height: .88;
}

.brandSeal {
  color: var(--machio-red);
  border-color: var(--machio-red);
}

.siteNav {
  gap: clamp(18px, 2.7vw, 48px);
}

.siteNav a {
  font-size: 13px;
  font-weight: 800;
}

.storeButton {
  min-height: 62px;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .24);
}

.cinemaHero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #020202;
}

.cinemaHero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), transparent 28%, transparent 72%, rgba(0, 0, 0, .7)),
    linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 42%, rgba(0, 0, 0, .48));
  pointer-events: none;
}

.heroScene {
  position: absolute;
  inset: 0;
}

.nightSky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 54% 16%, rgba(96, 108, 118, .32), transparent 30%),
    linear-gradient(180deg, #070b0d 0%, #030303 72%, #020202);
}

.nightSky::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 25%;
  width: 48vw;
  height: 26vh;
  background: linear-gradient(100deg, transparent, rgba(190, 196, 196, .18), transparent);
  filter: blur(30px);
}

.distantLights {
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 28vh;
  height: 20px;
}

.distantLights span {
  position: absolute;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 198, 101, .82), transparent);
}

.distantLights span:nth-child(1) { left: 4%; width: 9vw; }
.distantLights span:nth-child(2) { left: 18%; width: 5vw; }
.distantLights span:nth-child(3) { left: 55%; width: 4vw; }
.distantLights span:nth-child(4) { left: 70%; width: 10vw; }
.distantLights span:nth-child(5) { left: 84%; width: 5vw; }

.storeBuilding {
  position: absolute;
  left: 9vw;
  right: 4vw;
  bottom: 22vh;
  height: min(34vh, 340px);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #101111;
  box-shadow: 0 44px 120px rgba(0, 0, 0, .82), inset 0 1px rgba(255, 255, 255, .06);
  transform: perspective(1300px) rotateY(-7deg) skewY(-1.2deg);
  transform-origin: right center;
}

.facadeLines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, .055) 89px 90px),
    repeating-linear-gradient(0deg, transparent 0 66px, rgba(255, 255, 255, .035) 67px 68px),
    linear-gradient(180deg, #151616, #080808);
}

.storeSign {
  position: absolute;
  top: 16%;
  left: 43%;
  color: #fff;
  font-size: clamp(25px, 3.7vw, 62px);
  font-weight: 900;
  text-shadow: 0 0 14px rgba(255, 255, 255, .58), 0 0 34px rgba(255, 255, 255, .26);
}

.glassFront {
  position: absolute;
  left: 5%;
  right: 6%;
  bottom: 0;
  height: 48%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.glassFront span {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, .15);
  background:
    linear-gradient(180deg, rgba(255, 230, 183, .72), rgba(255, 170, 70, .28) 48%, rgba(30, 18, 7, .24)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, .14) 25px 26px);
}

.glassFront span::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 18%;
  bottom: 22%;
  height: 22%;
  background: linear-gradient(90deg, #171717 0 13%, transparent 13% 28%, #171717 28% 41%, transparent 41% 58%, #171717 58% 72%, transparent 72%);
  opacity: .36;
}

.warmDoor {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 8%;
  height: 57%;
  background: linear-gradient(180deg, #fff5d8, #ffb55c 45%, rgba(255, 175, 81, .42));
  box-shadow: 0 0 54px rgba(255, 190, 88, .5);
}

.rainReflection {
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: 0;
  height: 33vh;
  background:
    radial-gradient(ellipse at 62% 14%, rgba(255, 193, 101, .28), transparent 38%),
    repeating-linear-gradient(176deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .86));
  transform: skewY(-2deg);
}

.rainReflection::before {
  content: "SUPER MACHIO";
  position: absolute;
  left: 45%;
  top: 16%;
  color: rgba(255, 255, 255, .1);
  font-size: clamp(24px, 4vw, 58px);
  font-weight: 900;
  filter: blur(1px);
  transform: scaleY(-1) skewX(-10deg);
}

.rainReflection span {
  position: absolute;
  bottom: 24%;
  width: 18vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 85, .62), transparent);
  filter: blur(.6px);
}

.rainReflection span:nth-child(1) { left: 17%; }
.rainReflection span:nth-child(2) { left: 43%; width: 26vw; }
.rainReflection span:nth-child(3) { left: 68%; width: 14vw; }
.rainReflection span:nth-child(4) { left: 52%; bottom: 48%; width: 38vw; opacity: .5; }

.heroText {
  position: relative;
  z-index: 3;
  width: min(840px, calc(100% - 40px));
  margin-top: 5vh;
  text-align: center;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .8);
}

.heroEyebrow,
.sectionIndex {
  color: var(--machio-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.heroText h1 {
  margin-top: 18px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 5.4vw, 86px);
  font-weight: 500;
  line-height: 1.42;
}

.heroLogoLockup {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 17vh;
  display: grid;
  justify-items: center;
  color: #fff;
  transform: translateX(-50%);
  text-shadow: 0 0 18px rgba(0, 0, 0, .7);
}

.heroLogoLockup span {
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 900;
}

.heroLogoLockup strong {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: .04em;
}

.heroLogoLockup small {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .24em;
}

.heroMeta {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4vw, 72px);
  bottom: 8.5vh;
  display: flex;
  gap: 8px;
}

.heroMeta span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .24);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.scrollCue {
  position: absolute;
  z-index: 3;
  left: clamp(22px, 4vw, 72px);
  bottom: 10vh;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scrollCue::after {
  content: "";
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--machio-yellow), rgba(255, 255, 255, .34));
}

.conceptSection,
.storeSection,
.categorySection,
.visitSection,
.machioSection,
.newsSectionOfficial {
  padding: clamp(76px, 9vw, 146px) clamp(22px, 5vw, 84px);
}

.conceptSection,
.categorySection,
.visitSection,
.newsSectionOfficial {
  background: #050505;
}

.conceptGrid {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(320px, .72fr);
  gap: clamp(42px, 8vw, 140px);
  align-items: start;
  margin-top: 32px;
}

.ghostType {
  display: block;
  margin-bottom: -10px;
  color: rgba(255, 255, 255, .045);
  font-size: clamp(82px, 14vw, 232px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: .78;
}

.conceptGrid h2,
.sectionHeading h2,
.categoryHeader h2,
.machioCopy h2,
.newsSectionOfficial h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(31px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.45;
}

.conceptCopy {
  display: grid;
  gap: 22px;
  padding-top: 28px;
  color: rgba(255, 255, 255, .76);
  line-height: 2.15;
}

.conceptPanels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(44px, 6vw, 84px);
  border-top: 1px solid var(--machio-line);
  border-left: 1px solid var(--machio-line);
}

.conceptPanels article,
.visitFlow article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--machio-line);
  border-bottom: 1px solid var(--machio-line);
}

.conceptPanels span,
.visitFlow span {
  color: var(--machio-yellow);
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 900;
  line-height: 1;
}

.conceptPanels h3,
.visitFlow h3 {
  margin-top: 30px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
}

.conceptPanels p,
.visitFlow p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.9;
}

.storeSection {
  background: #f7f7f4;
  color: #111;
}

.storeSection .sectionIndex {
  color: #111;
}

.sectionHeading {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.sectionHeading h2 {
  color: #111;
}

.interiorScene {
  position: relative;
  height: clamp(520px, 61vw, 760px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0 27%, #f2f2ef 27% 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .13);
}

.interiorScene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 18%, transparent 82%, rgba(0, 0, 0, .08)),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .08));
}

.ceilingLines {
  position: absolute;
  inset: -14% -8% 49%;
  background:
    repeating-linear-gradient(90deg, transparent 0 7.6%, rgba(0, 0, 0, .08) 7.7% 7.9%, transparent 8% 15%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(0, 0, 0, .06) 19px 20px);
  opacity: .85;
  transform: perspective(800px) rotateX(58deg) scaleY(1.8);
  transform-origin: top center;
}

.aisle {
  position: absolute;
  left: 31%;
  right: 31%;
  bottom: -14%;
  height: 65%;
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .52) 44% 56%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, .86), #ddddda);
}

.trackLights {
  position: absolute;
  left: 12%;
  right: 10%;
  top: 9%;
  display: flex;
  justify-content: space-between;
}

.trackLights span {
  width: 2px;
  height: 132px;
  background: rgba(0, 0, 0, .18);
}

.trackLights span::after {
  content: "";
  display: block;
  width: 76px;
  height: 7px;
  margin: 126px 0 0 -37px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 12px rgba(0, 0, 0, .08);
}

.wallLogo {
  position: absolute;
  right: 5%;
  top: 15%;
  color: #262626;
  font-size: clamp(32px, 5vw, 82px);
  font-weight: 900;
  line-height: .9;
}

.hangingSigns {
  position: absolute;
  left: 18%;
  right: 28%;
  top: 16%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.hangingSigns span {
  position: relative;
  min-width: 112px;
  padding: 18px 14px;
  color: #fff;
  background: #080808;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .2);
}

.hangingSigns span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 64px;
  background: #151515;
}

.shelf {
  position: absolute;
  bottom: 9%;
  width: 28%;
  height: 47%;
  border: 8px solid #1c1c1b;
  background:
    linear-gradient(0deg, transparent 30%, #1c1c1b 31% 33%, transparent 34% 63%, #1c1c1b 64% 66%, transparent 67%),
    repeating-linear-gradient(90deg, #d9c29d 0 9%, #f4f1eb 9% 16%, #2b2b2a 16% 21%, #e0d7c8 21% 28%);
}

.shelfLeft {
  left: 3%;
  transform: perspective(650px) rotateY(18deg);
}

.shelfRight {
  right: 3%;
  transform: perspective(650px) rotateY(-18deg);
}

.displayTable {
  position: absolute;
  left: 37%;
  bottom: 14%;
  width: 26%;
  height: 22%;
  border: 6px solid #1a1a19;
  background: linear-gradient(#c7a36d 0 30%, #1a1a19 30% 38%, #d6c4aa 38% 100%);
}

.displayTable span {
  position: absolute;
  bottom: 100%;
  width: 38px;
  height: 46px;
  border: 1px solid #cfc8bc;
  background: #f5f1e9;
}

.displayTable span:nth-child(1) { left: 9%; height: 34px; }
.displayTable span:nth-child(2) { left: 31%; }
.displayTable span:nth-child(3) { left: 54%; height: 40px; background: #222; }
.displayTable span:nth-child(4) { left: 76%; height: 30px; }

.plantAccent {
  position: absolute;
  left: 41%;
  bottom: 32%;
  width: 92px;
  height: 84px;
}

.plantAccent span {
  position: absolute;
  bottom: 0;
  width: 46px;
  height: 62px;
  border-radius: 50% 50% 10% 10%;
  background: #2f5a37;
  transform-origin: bottom center;
}

.plantAccent span:nth-child(1) { left: 4px; transform: rotate(-18deg); }
.plantAccent span:nth-child(2) { left: 28px; height: 78px; background: #436f42; }
.plantAccent span:nth-child(3) { left: 50px; transform: rotate(18deg); }

.categoryHeader {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
}

.categoryHeader p {
  color: rgba(255, 255, 255, .7);
  line-height: 1.9;
}

.categoryGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(34px, 5vw, 72px);
  border-top: 1px solid var(--machio-line);
  border-left: 1px solid var(--machio-line);
}

.categoryGrid span {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center start;
  padding: 24px;
  border-right: 1px solid var(--machio-line);
  border-bottom: 1px solid var(--machio-line);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 800;
}

.categoryGrid span::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, .36);
}

.categoryGrid span:nth-child(7)::after {
  background: var(--machio-red);
}

.visitFlow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--machio-line);
  border-left: 1px solid var(--machio-line);
}

.machioSection {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(320px, .92fr);
  gap: clamp(34px, 8vw, 130px);
  align-items: center;
  background: linear-gradient(90deg, #f7f7f4 0 48%, #ecece8 48%);
  color: #111;
}

.machioCopy h2 {
  color: #111;
}

.machioCopy p {
  margin-top: 18px;
  color: rgba(0, 0, 0, .66);
  line-height: 1.9;
}

.machioCard {
  min-height: 560px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 1px solid #d0d0ca;
  background: radial-gradient(circle at 44% 20%, #fff 0 16%, transparent 17%), linear-gradient(180deg, #fff, #ecece8);
}

.machioSilhouette {
  position: relative;
  width: min(330px, 74%);
  height: 410px;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .16));
}

.machioHead,
.machioBody {
  position: absolute;
  left: 50%;
  display: block;
  border: 1px solid #d9d9d4;
  background: repeating-linear-gradient(112deg, rgba(255, 255, 255, .75) 0 4px, rgba(226, 226, 220, .65) 4px 7px), #f7f7f2;
  box-shadow: inset -22px 0 40px rgba(0, 0, 0, .08);
  transform: translateX(-50%);
}

.machioHead {
  top: 10px;
  width: 170px;
  height: 146px;
  border-radius: 48% 48% 42% 42%;
}

.machioBody {
  bottom: 0;
  width: 280px;
  height: 300px;
  border-radius: 45% 45% 10% 10%;
}

.machioHead::before,
.machioHead::after {
  content: "";
  position: absolute;
  top: 58px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1b1b1a;
}

.machioHead::before { left: 48px; }
.machioHead::after { right: 48px; }

.machioApron {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 168px;
  height: 210px;
  display: grid;
  place-items: start center;
  padding-top: 48px;
  color: #fff;
  background: var(--machio-red);
  font-size: 46px;
  font-weight: 900;
  transform: translateX(-50%);
}

.toneList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.toneList span {
  padding: 10px 14px;
  border: 1px solid #c9c9c3;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.officialNewsList {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--machio-line);
}

.officialNewsList article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--machio-line);
}

.officialNewsList time {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 900;
}

.officialNewsList h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.officialFooter {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 84px);
  border-top: 1px solid var(--machio-line);
  background: #050505;
  color: rgba(255, 255, 255, .72);
}

.footerLogo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.revealSection {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease var(--revealDelay, 0s), transform .65s ease var(--revealDelay, 0s);
}

.revealSection.isVisible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes introRainMove {
  from { transform: translate3d(0, -30px, 0); }
  to { transform: translate3d(-22px, 30px, 0); }
}

@keyframes introWordTunnel {
  0% {
    opacity: 0;
    filter: blur(9px);
    transform: translate3d(calc(var(--x) * .28), -20vh, -520px) scale(.24);
  }
  18% {
    opacity: .88;
  }
  72% {
    opacity: .64;
  }
  100% {
    opacity: 0;
    filter: blur(1px);
    transform: translate3d(var(--x), 22vh, 560px) scale(2.2);
  }
}

@keyframes introStoreApproach {
  0% { opacity: .34; transform: translateX(-50%) translateY(-4vh) scale(.45); }
  70% { opacity: .9; transform: translateX(-50%) translateY(2vh) scale(.9); }
  100% { opacity: 1; transform: translateX(-50%) translateY(3vh) scale(1); }
}

@keyframes introDoorLeftOpen {
  to { transform: perspective(440px) rotateY(-76deg); }
}

@keyframes introDoorRightOpen {
  to { transform: perspective(440px) rotateY(76deg); }
}

@keyframes introLightBloom {
  0% { opacity: 0; transform: scale(.62); }
  45% { opacity: 1; transform: scale(1.28); }
  100% { opacity: .86; transform: scale(2.8); }
}

@keyframes introWelcomeIn {
  0% { opacity: 0; transform: translateY(20px) scale(.96); }
  45% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1.02); }
}

@media (max-width: 1080px) {
  .siteHeader {
    min-height: 92px;
    grid-template-columns: auto 1fr;
  }

  .siteNav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .storeButton {
    justify-self: end;
  }

  .storeBuilding {
    left: 6vw;
    right: -14vw;
  }

  .conceptGrid,
  .sectionHeading,
  .categoryHeader,
  .machioSection {
    grid-template-columns: 1fr;
  }

  .conceptPanels,
  .visitFlow,
  .categoryGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interiorScene {
    height: 650px;
  }
}

@media (max-width: 720px) {
  .introStore {
    top: 18vh;
    width: 84vw;
    height: 28vh;
  }

  .introWordField span {
    font-size: clamp(17px, 7vw, 34px);
  }

  .introWelcome {
    font-size: clamp(42px, 14vw, 72px);
  }

  .siteHeader {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
    background: rgba(5, 5, 5, .9);
  }

  .brandLogoJa {
    font-size: 12px;
  }

  .brandLogoJa strong {
    font-size: 34px;
  }

  .brandLogoEn,
  .brandSeal,
  .siteNav {
    display: none;
  }

  .storeButton {
    min-width: 116px;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .cinemaHero {
    place-items: center;
    padding-bottom: 9vh;
  }

  .storeBuilding {
    left: -5vw;
    right: -66vw;
    bottom: 31vh;
    height: 24vh;
    transform: perspective(900px) rotateY(-9deg) skewY(-1.2deg);
  }

  .glassFront {
    height: 52%;
  }

  .heroText {
    width: calc(100% - 34px);
    margin-top: -3vh;
  }

  .heroText h1 {
    font-size: clamp(34px, 10.5vw, 52px);
  }

  .heroLogoLockup {
    bottom: 18vh;
  }

  .heroMeta {
    left: 18px;
    right: 18px;
    bottom: 3.8vh;
    justify-content: space-between;
    gap: 5px;
  }

  .heroMeta span {
    padding: 7px 6px;
    font-size: 8px;
  }

  .conceptSection,
  .storeSection,
  .categorySection,
  .visitSection,
  .machioSection,
  .newsSectionOfficial {
    padding: 68px 18px;
  }

  .ghostType {
    font-size: 58px;
  }

  .conceptPanels,
  .visitFlow,
  .categoryGrid {
    grid-template-columns: 1fr;
  }

  .interiorScene {
    height: 560px;
  }

  .trackLights {
    left: 12%;
    right: 12%;
    top: 8%;
  }

  .trackLights span {
    height: 90px;
  }

  .trackLights span::after {
    width: 46px;
    margin: 86px 0 0 -22px;
  }

  .wallLogo {
    top: 12%;
    right: 5%;
    font-size: 34px;
  }

  .hangingSigns {
    left: 7%;
    right: 7%;
    top: 27%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hangingSigns span {
    min-width: 0;
    padding: 12px 8px;
    font-size: 10px;
  }

  .shelfLeft {
    left: -6%;
    width: 39%;
  }

  .shelfRight {
    right: -6%;
    width: 39%;
  }

  .displayTable {
    left: 34%;
    width: 32%;
  }

  .plantAccent {
    left: 38%;
    bottom: 34%;
    transform: scale(.78);
  }

  .machioSection {
    background: #f7f7f4;
  }

  .machioCard {
    min-height: 420px;
  }

  .machioSilhouette {
    height: 340px;
  }

  .machioHead {
    width: 138px;
    height: 120px;
  }

  .machioBody {
    width: 230px;
    height: 246px;
  }

  .machioApron {
    width: 138px;
    height: 172px;
  }

  .officialNewsList article,
  .officialFooter {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteIntro,
  .introRain,
  .introWordField span,
  .introStore,
  .introDoorLeft,
  .introDoorRight,
  .introLight,
  .introWelcome,
  .siteHeader,
  .revealSection {
    animation: none !important;
    transition: none !important;
  }
}

.brandLogo {
  display: block;
  width: clamp(150px, 13vw, 210px);
}

.brandLogo img {
  display: block;
  width: 100%;
  height: auto;
}

.heroLogoLockup {
  width: clamp(210px, 20vw, 360px);
}

.heroLogoLockup img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .brandLogo {
    width: 128px;
  }

  .brandLogo img {
    display: block;
  }

  .heroLogoLockup {
    width: clamp(180px, 58vw, 260px);
  }
}

/* Image-led Super Machio homepage */
body.officialHome {
  --home-bg: #050505;
  --home-panel: #101111;
  --home-paper: #f7f4ec;
  --home-muted: rgba(247, 244, 236, .72);
  --home-line: rgba(247, 244, 236, .18);
  --home-warm: #f3bf63;
  --home-ink: #151515;
  min-width: 0;
  overflow-x: hidden;
  color: var(--home-paper);
  background: var(--home-bg);
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.officialHome .siteHeader {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(132px, 210px) 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .2));
  backdrop-filter: blur(12px);
  transition: background .18s ease, min-height .18s ease;
}

.officialHome .siteHeader.isScrolled {
  min-height: 70px;
  background: rgba(5, 5, 5, .9);
}

.officialHome .brandLogo {
  width: clamp(132px, 13vw, 190px);
}

.officialHome .siteNav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
}

.officialHome .siteNav a {
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.officialHome .siteNav span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  letter-spacing: .12em;
}

.officialHome .storeButton,
.heroActions a {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .58);
  color: #fff;
  background: rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.officialHome .storeButton span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
  letter-spacing: .16em;
}

.machioPhotoHero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 5vw, 84px) clamp(80px, 9vw, 132px);
  isolation: isolate;
}

.machioPhotoHero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photoHeroShade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .16) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .38), transparent 38%, rgba(0, 0, 0, .78));
}

.photoHeroContent {
  width: min(760px, 100%);
  text-shadow: 0 3px 34px rgba(0, 0, 0, .78);
}

.heroEyebrow,
.sectionIndex {
  color: var(--home-warm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.photoHeroContent h1 {
  margin-top: 18px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 600;
  line-height: 1.22;
}

.photoHeroContent p:not(.heroEyebrow) {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.heroActions a:first-child {
  border-color: var(--home-warm);
  color: #17120a;
  background: var(--home-warm);
}

.heroStoreInfo {
  position: absolute;
  right: clamp(18px, 5vw, 84px);
  bottom: clamp(20px, 4vw, 54px);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.heroStoreInfo span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .26);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.homeBand {
  padding: clamp(74px, 9vw, 138px) clamp(18px, 5vw, 84px);
}

.homeIntro,
.serviceBand,
.newsSectionOfficial {
  background: #050505;
}

.homeIntroGrid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(300px, .68fr);
  gap: clamp(34px, 7vw, 118px);
  align-items: start;
  margin-top: 28px;
}

.homeIntro h2,
.sectionHeading h2,
.featureCopy h2,
.newsSectionOfficial h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(31px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.42;
}

.homeLead {
  display: grid;
  gap: 18px;
  color: var(--home-muted);
  line-height: 2;
}

.sectionHeading {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) 1fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.serviceGrid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.serviceGrid span {
  color: var(--home-warm);
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 900;
  line-height: 1;
}

.serviceGrid h3 {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
}

.serviceGrid p {
  margin-top: 14px;
  color: var(--home-muted);
  line-height: 1.9;
}

.featureBand {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(280px, .62fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background: var(--home-paper);
  color: var(--home-ink);
}

.featureImage {
  min-height: clamp(320px, 42vw, 620px);
  overflow: hidden;
  background: #111;
}

.featureImage img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 42vw, 620px);
  display: block;
  object-fit: cover;
}

.featureCopy .sectionIndex {
  color: #5f4418;
}

.featureCopy h2 {
  margin-top: 20px;
  color: var(--home-ink);
}

.featureCopy p {
  margin-top: 22px;
  color: rgba(0, 0, 0, .68);
  line-height: 2;
}

.officialHome .newsSectionOfficial {
  background: #050505;
}

.officialHome .officialNewsList {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--home-line);
}

.officialHome .officialNewsList article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--home-line);
}

.officialHome .officialNewsList time {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 900;
}

.officialHome .officialNewsList h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.officialHome .officialFooter {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 84px);
  border-top: 1px solid var(--home-line);
  background: #050505;
  color: rgba(255, 255, 255, .72);
}

.officialHome .footerLogo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .officialHome .siteHeader {
    grid-template-columns: auto 1fr auto;
  }

  .officialHome .siteNav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .homeIntroGrid,
  .sectionHeading,
  .featureBand {
    grid-template-columns: 1fr;
  }

  .serviceGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .officialHome .siteHeader {
    min-height: 66px;
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .officialHome .brandLogo {
    width: 126px;
  }

  .officialHome .siteNav {
    display: none;
  }

  .officialHome .storeButton {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .machioPhotoHero {
    min-height: 92svh;
    padding: 104px 18px 92px;
  }

  .machioPhotoHero > img {
    object-position: 58% center;
  }

  .photoHeroShade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .44)),
      linear-gradient(180deg, rgba(0, 0, 0, .32), transparent 28%, rgba(0, 0, 0, .82));
  }

  .photoHeroContent h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .heroStoreInfo {
    left: 18px;
    right: 18px;
    justify-content: flex-start;
  }

  .homeBand {
    padding: 66px 18px;
  }

  .officialHome .officialNewsList article,
  .officialHome .officialFooter {
    grid-template-columns: 1fr;
  }
}

/* Brand-rules compliant official homepage */
body.officialHome {
  --machio-black: #050505;
  --machio-ink: #111111;
  --machio-white: #f8f8f6;
  --machio-gray: #ececec;
  --machio-mid: #666666;
  --machio-line: rgba(248, 248, 246, .16);
  --machio-yellow: #f8c537;
  --machio-red: #e53935;
  min-width: 0;
  overflow-x: hidden;
  color: var(--machio-white);
  background: var(--machio-black);
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0;
}

body.officialHome.introPending,
body.officialHome.introPlaying {
  height: 100vh;
  overflow: hidden;
}

body.officialHome.introPending .siteHeader,
body.officialHome.introPending main,
body.officialHome.introPending .officialFooter,
body.officialHome.introPlaying .siteHeader,
body.officialHome.introPlaying main,
body.officialHome.introPlaying .officialFooter {
  opacity: 0;
  pointer-events: none;
}

.siteIntro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
  transition: opacity .8s ease, visibility .8s ease;
}

.siteIntro.isFinished {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.introSkip {
  position: absolute;
  z-index: 8;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 38px);
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .34);
  color: rgba(255, 255, 255, .82);
  background: rgba(0, 0, 0, .32);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.introNightRoad {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 980px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255, 226, 174, .04), transparent 24%),
    radial-gradient(ellipse at 50% 18%, rgba(74, 80, 78, .14), transparent 32%),
    linear-gradient(180deg, #010101 0%, #050403 54%, #000 100%);
}

.introNightRoad::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 18%, rgba(0, 0, 0, .42) 58%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .94), transparent 32%, transparent 68%, rgba(0, 0, 0, .94));
  pointer-events: none;
}

.introNightRoad::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 40%, rgba(0, 0, 0, .46));
  pointer-events: none;
}

.introCorridor {
  position: absolute;
  z-index: 1;
  inset: 0;
  transform-origin: center center;
}

.siteIntro.isPlaying .introCorridor {
  animation: machioCorridorWalk 4.8s cubic-bezier(.18, .72, .2, 1) forwards;
}

.introFloor {
  position: absolute;
  left: 50%;
  bottom: -13vh;
  width: min(980px, 100vw);
  height: 92vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .06) 54%, rgba(0, 0, 0, .9)),
    repeating-linear-gradient(180deg, transparent 0 42px, rgba(255, 255, 255, .035) 43px 44px),
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01) 36%, rgba(0, 0, 0, .9));
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  opacity: .78;
  transform: translateX(-50%) rotateX(62deg);
  transform-origin: bottom center;
}

.introCeiling,
.introWall,
.introFloorGlow {
  position: absolute;
  display: block;
}

.introCeiling {
  left: 50%;
  top: -18vh;
  width: min(820px, 82vw);
  height: 54vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(255, 255, 255, .045) 50%, rgba(0, 0, 0, .96)),
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .92));
  clip-path: polygon(29% 100%, 71% 100%, 100% 0, 0 0);
  opacity: .34;
  transform: translateX(-50%) rotateX(-56deg);
  transform-origin: top center;
}

.introWall {
  top: 3vh;
  bottom: -3vh;
  width: 50vw;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 28px),
    linear-gradient(180deg, rgba(40, 34, 28, .18), rgba(0, 0, 0, .9));
  opacity: .72;
}

.introWallLeft {
  left: 0;
  clip-path: polygon(0 0, 69% 17%, 69% 71%, 0 100%);
}

.introWallRight {
  right: 0;
  clip-path: polygon(31% 17%, 100% 0, 100% 100%, 31% 71%);
}

.introFloorGlow {
  z-index: 2;
  bottom: 16.5vh;
  width: min(34vw, 440px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 208, 138, .9), transparent);
  box-shadow: 0 0 16px rgba(255, 191, 103, .42), 0 0 36px rgba(255, 170, 80, .16);
  opacity: .76;
  transform: perspective(900px) rotateX(62deg);
  transform-origin: center bottom;
}

.introFloorGlowLeft {
  left: 12vw;
  rotate: -12deg;
}

.introFloorGlowRight {
  right: 12vw;
  rotate: 12deg;
}

.introWords {
  position: absolute;
  z-index: 4;
  inset: 0;
  transform-style: preserve-3d;
}

.introWords span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(255, 255, 255, var(--alpha, .76));
  font-size: clamp(15px, calc(var(--size, 28) * 1px), 44px);
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 0 18px rgba(255, 255, 255, .28), 0 0 42px rgba(255, 255, 255, .12);
  transform: translate3d(var(--x, 0vw), var(--y, 0vh), -560px) scale(.28);
  will-change: opacity, filter, transform;
}

.siteIntro.isPlaying .introWords span {
  animation: machioIntroWords var(--duration, 3.8s) cubic-bezier(.18, .74, .2, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.introDoor {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 18.5vh;
  width: min(238px, 35vw);
  height: min(355px, 47vh);
  overflow: visible;
  transform: translateX(-50%);
  transform-style: preserve-3d;
}

.introDoor::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(0, 0, 0, .42);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .88);
}

.siteIntro.isPlaying .introDoor {
  animation: machioDoorApproach 4.8s cubic-bezier(.18, .72, .2, 1) forwards;
}

.introDoorPanel {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 18%, transparent 82%, rgba(0, 0, 0, .44)),
    linear-gradient(180deg, #111, #030303);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, .05);
}

.introDoorPanelLeft {
  left: 0;
  transform-origin: left center;
}

.introDoorPanelRight {
  right: 0;
  transform-origin: right center;
}

.introDoorLight {
  position: absolute;
  z-index: 1;
  inset: -9%;
  background:
    radial-gradient(ellipse at 50% 50%, #fff 0 8%, #ffe7bd 20%, rgba(255, 185, 88, .66) 42%, transparent 73%),
    linear-gradient(90deg, transparent, rgba(255, 225, 178, .62), transparent);
  filter: blur(9px);
  opacity: 0;
  transform: scale(.7);
}

.siteIntro.isPlaying .introDoorPanelLeft {
  animation: machioDoorLeft 1.35s cubic-bezier(.2, .72, .18, 1) forwards;
  animation-delay: 4.65s;
}

.siteIntro.isPlaying .introDoorPanelRight {
  animation: machioDoorRight 1.35s cubic-bezier(.2, .72, .18, 1) forwards;
  animation-delay: 4.65s;
}

.siteIntro.isPlaying .introDoorLight {
  animation: machioLightBloom 2.05s ease forwards;
  animation-delay: 4.55s;
}

.introWhiteout {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: block;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 244, 222, .96), rgba(255, 215, 150, .62) 36%, rgba(255, 200, 124, .12) 66%, transparent 86%);
  opacity: 0;
  pointer-events: none;
}

.siteIntro.isPlaying .introWhiteout {
  animation: machioWhiteout 1.7s ease forwards;
  animation-delay: 5.65s;
}

.introWelcome {
  position: relative;
  z-index: 7;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(42px, 9vw, 116px);
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  text-align: center;
  -webkit-text-stroke: 1.4px rgba(64, 39, 14, .34);
  text-shadow:
    0 3px 18px rgba(54, 32, 10, .64),
    0 0 28px rgba(255, 255, 255, .28),
    0 0 72px rgba(255, 190, 98, .24);
  transform: translateY(16px) scale(.98);
}

.introWelcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -34% -12%;
  border-radius: 999px;
  background: radial-gradient(ellipse at 50% 50%, rgba(72, 43, 12, .34), rgba(72, 43, 12, .16) 44%, transparent 74%);
  filter: blur(22px);
}

.siteIntro.isPlaying .introWelcome {
  animation: machioWelcome 1.55s ease forwards;
  animation-delay: 5.86s;
}

.officialHome .siteHeader {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(132px, 210px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3.6vw, 58px);
  padding: 18px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .14));
  backdrop-filter: blur(12px);
  transition: background .18s ease, min-height .18s ease;
}

.officialHome .siteHeader.isScrolled {
  min-height: 76px;
  background: rgba(5, 5, 5, .92);
}

.officialHome .brandLogo {
  display: block;
  width: clamp(136px, 13vw, 190px);
}

.officialHome .brandLogo img {
  display: block;
  width: 100%;
  height: auto;
}

.officialHome .siteNav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
}

.officialHome .siteNav a {
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.officialHome .siteNav a:first-child {
  color: var(--machio-yellow);
}

.officialHome .siteNav span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  letter-spacing: .12em;
}

.officialHome .storeButton,
.officialHome .heroButton {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .62);
  color: #fff;
  background: rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.officialHome .storeButton::after {
  content: "->";
  margin-left: 18px;
}

.officialHome .storeButton span {
  display: none;
}

.machioHero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 84px) 92px;
  isolation: isolate;
  background: #000;
}

.machioHero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.heroShade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .68) 34%, rgba(0, 0, 0, .16) 68%, rgba(0, 0, 0, .06) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 44%, rgba(0, 0, 0, .7));
}

.heroCopy {
  width: min(620px, 48vw);
  align-self: center;
  margin-top: 18vh;
  text-shadow: none;
}

.sectionIndex {
  color: var(--machio-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.heroCopy h1 {
  margin-top: 26px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: none;
}

.heroCopy h1 span {
  display: block;
}

.heroLineMain {
  font-size: clamp(54px, 5.6vw, 80px);
}

.heroLineSub {
  margin-top: 14px;
  font-size: clamp(42px, 4.25vw, 62px);
  white-space: nowrap;
}

.scrollCue {
  position: absolute;
  left: clamp(20px, 5vw, 84px);
  bottom: 42px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scrollCue::after {
  content: "";
  display: block;
  width: 1px;
  height: 54px;
  margin-top: 12px;
  background: linear-gradient(var(--machio-yellow), rgba(255, 255, 255, .34));
}

.officialSection {
  padding: clamp(76px, 9vw, 146px) clamp(20px, 5vw, 84px);
  background: #050505;
}

.sectionSplit {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(300px, .68fr);
  gap: clamp(34px, 7vw, 118px);
  align-items: start;
  margin-top: 28px;
}

.sectionSplit h2,
.newsSection h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(31px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.42;
}

.sectionText {
  display: grid;
  gap: 18px;
  color: rgba(248, 248, 246, .74);
  line-height: 2;
}

.storeSection {
  background: var(--machio-white);
  color: var(--machio-ink);
}

.storeSection .sectionIndex {
  color: #4a360f;
}

.storeSection .sectionSplit h2 {
  color: var(--machio-ink);
}

.storeSection .sectionText {
  color: rgba(17, 17, 17, .68);
}

.storePhoto {
  margin-top: clamp(34px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .16);
  background: #fff;
}

.storePhoto img {
  display: block;
  width: 100%;
  height: min(66vw, 760px);
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.categoryList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--machio-line);
  border-left: 1px solid var(--machio-line);
}

.categoryList span {
  min-height: 86px;
  display: grid;
  place-items: center start;
  padding: 22px;
  border-right: 1px solid var(--machio-line);
  border-bottom: 1px solid var(--machio-line);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 900;
}

.machioSection {
  background: #0b0b0b;
}

.machioProfile {
  display: grid;
  gap: 24px;
}

.machioPortrait {
  overflow: hidden;
  border: 1px solid var(--machio-line);
  background: #111;
}

.machioPortrait img {
  display: block;
  width: 100%;
  height: min(44vw, 520px);
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 36%;
}

.newsList {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--machio-line);
}

.newsList article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--machio-line);
}

.newsList time {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 900;
}

.newsList h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.officialHome .officialFooter {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 84px);
  border-top: 1px solid var(--machio-line);
  background: #050505;
  color: rgba(255, 255, 255, .72);
}

.officialHome .footerLogo {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.revealSection {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease var(--revealDelay, 0s), transform .65s ease var(--revealDelay, 0s);
}

.revealSection.isVisible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes machioIntroWords {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(calc(var(--x, 0vw) * .22), calc(var(--y, 0vh) * .54), -620px) scale(.22);
  }
  20% {
    opacity: calc(var(--alpha, .76) * .9);
    filter: blur(2px);
  }
  56% {
    opacity: var(--alpha, .76);
    filter: blur(.4px);
  }
  100% {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(var(--x, 0vw), calc(var(--y, 0vh) + 12vh), 460px) scale(var(--endScale, 1.42));
  }
}

@keyframes machioCorridorWalk {
  0% { transform: scale(1) translateY(0); filter: brightness(.82); }
  68% { transform: scale(1.08) translateY(1.2vh); filter: brightness(.9); }
  100% { transform: scale(1.18) translateY(2vh); filter: brightness(1); }
}

@keyframes machioDoorApproach {
  0% { opacity: .54; transform: translateX(-50%) translateY(-1.2vh) scale(.74); }
  72% { opacity: .92; transform: translateX(-50%) translateY(1.4vh) scale(.96); }
  100% { opacity: 1; transform: translateX(-50%) translateY(2.2vh) scale(1.05); }
}

@keyframes machioDoorLeft {
  to { transform: perspective(520px) rotateY(-78deg); }
}

@keyframes machioDoorRight {
  to { transform: perspective(520px) rotateY(78deg); }
}

@keyframes machioLightBloom {
  0% { opacity: 0; transform: scale(.62); }
  45% { opacity: 1; transform: scale(1.34); }
  100% { opacity: .92; transform: scale(3.25); }
}

@keyframes machioWhiteout {
  0% { opacity: 0; transform: scale(.75); }
  54% { opacity: .92; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes machioWelcome {
  0% { opacity: 0; transform: translateY(18px) scale(.98); }
  28% { opacity: 1; transform: translateY(0) scale(1); }
  72% { opacity: 1; transform: translateY(0) scale(1.01); }
  100% { opacity: 0; transform: translateY(-10px) scale(1.015); }
}

/* Cinematic bitmap intro sequence */
.introCinema {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.introFrames {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.introFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(.98) contrast(1.04);
  transform: scale(1.02);
  will-change: opacity, transform, filter;
}

.introFrameClosed {
  opacity: 1;
}

.siteIntro.isPlaying .introFrameClosed {
  animation: machioFrameClosed 2.2s ease forwards;
}

.siteIntro.isPlaying .introFrameCrack {
  animation: machioFrameReveal 1.75s ease forwards;
  animation-delay: 1.55s;
}

.siteIntro.isPlaying .introFrameHalf {
  animation: machioFrameReveal 1.75s ease forwards;
  animation-delay: 2.85s;
}

.siteIntro.isPlaying .introFrameOpen {
  animation: machioFrameOpen 1.85s ease forwards;
  animation-delay: 4.05s;
}

.siteIntro.isPlaying .introFrameLight {
  animation: machioFrameLight 1.65s ease forwards;
  animation-delay: 5.35s;
}

.introCinema::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .52), transparent 34%, transparent 66%, rgba(0, 0, 0, .52)),
    linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 48%, rgba(0, 0, 0, .2));
  pointer-events: none;
}

.siteIntro.isPlaying .introFrames {
  animation: machioCameraDrift 6.25s cubic-bezier(.18, .72, .2, 1) forwards;
}

.introCinema .introWords {
  z-index: 4;
}

.introCinema .introWhiteout {
  z-index: 5;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .22), rgba(255, 231, 190, .19) 28%, rgba(255, 178, 84, .1) 58%, transparent 82%);
}

body.officialHome.introHeroReveal .introWords {
  opacity: .42;
  transition: opacity .45s ease;
}

.siteIntro.isPlaying .introCinema .introWhiteout {
  animation: machioWhiteout 1.7s ease forwards;
  animation-delay: 5.68s;
}

@keyframes machioFrameClosed {
  0% { opacity: 1; transform: scale(1.01); }
  74% { opacity: 1; transform: scale(1.045); }
  100% { opacity: 0; transform: scale(1.065); }
}

@keyframes machioFrameReveal {
  0% { opacity: 0; transform: scale(1.035); }
  18% { opacity: 1; transform: scale(1.052); }
  76% { opacity: 1; transform: scale(1.082); }
  100% { opacity: 0; transform: scale(1.1); }
}

@keyframes machioFrameOpen {
  0% { opacity: 0; transform: scale(1.06); filter: saturate(1) contrast(1.04); }
  18% { opacity: 1; transform: scale(1.085); filter: saturate(1.04) contrast(1.02); }
  80% { opacity: 1; transform: scale(1.13); filter: saturate(1.04) contrast(1.04) brightness(1.04); }
  100% { opacity: 0; transform: scale(1.16); filter: saturate(1.05) contrast(1.08) brightness(1.12); }
}

@keyframes machioFrameLight {
  0% { opacity: 0; transform: scale(1.03); filter: brightness(.66) contrast(.9) saturate(.86); }
  28% { opacity: 1; transform: scale(1.08); filter: brightness(.7) contrast(.88) saturate(.86); }
  100% { opacity: .9; transform: scale(1.16); filter: brightness(.74) contrast(.9) saturate(.88); }
}

@keyframes machioCameraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  54% { transform: translate3d(0, .35vh, 0) scale(1.035); }
  100% { transform: translate3d(0, .8vh, 0) scale(1.07); }
}

@media (max-width: 1080px) {
  .officialHome .siteHeader {
    grid-template-columns: auto 1fr;
  }

  .officialHome .siteNav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .officialHome .storeButton {
    justify-self: end;
  }

  .sectionSplit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .officialHome .siteHeader {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
    background: rgba(5, 5, 5, .92);
  }

  .officialHome .brandLogo {
    width: 126px;
  }

  .officialHome .siteNav {
    display: none;
  }

  .officialHome .storeButton {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .machioHero {
    min-height: 100svh;
    padding: 96px 18px 86px;
  }

  .machioHero > img {
    object-position: 70% center;
  }

  .heroShade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .46)),
      linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 32%, rgba(0, 0, 0, .78));
  }

  .heroCopy h1 {
    line-height: 1.28;
  }

  .heroCopy {
    width: 100%;
    margin-top: 0;
  }

  .heroLineMain {
    font-size: clamp(40px, 12vw, 48px);
  }

  .heroLineSub {
    margin-top: 12px;
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.32;
    white-space: normal;
  }

  .officialSection {
    padding: 66px 18px;
  }

  .storePhoto img {
    height: 74vw;
    min-height: 320px;
  }

  .machioPortrait img {
    height: 74vw;
    min-height: 300px;
  }

  .categoryList {
    grid-template-columns: 1fr;
  }

  .newsList article,
  .officialHome .officialFooter {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteIntro,
  .introFrames,
  .introFrame,
  .introWords span,
  .introDoorPanelLeft,
  .introDoorPanelRight,
  .introDoorLight,
  .introWelcome,
  .siteHeader,
  .revealSection {
    animation: none !important;
    transition: none !important;
  }
}
