/* This file is loaded only by the new market entrance and Tokyo pages. */
:is(.market-entry-page, .tokyo-page) { background: var(--navy); color: var(--paper); }
:is(.market-entry-page, .tokyo-page) .market-header {
  background: transparent;
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
  backdrop-filter: none;
}
:is(.market-entry-page, .tokyo-page) .brand-logo { filter: brightness(0) invert(1); }
:is(.market-entry-page, .tokyo-page) .market-nav { gap: 32px; }
:is(.market-entry-page, .tokyo-page) .market-nav a {
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
}
:is(.market-entry-page, .tokyo-page) .market-nav .lang-switch {
  margin-left: 4px;
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.3);
}
:is(.market-entry-page, .tokyo-page) a:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
:is(.market-entry-page, .tokyo-page) .skip-link { color: var(--navy); }
.market-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.market-split { display: grid; grid-template-columns: 52% 48%; min-height: 360px; height: 100vh; height: 100svh; }
.market-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 5vw 86px;
  text-align: center;
  text-decoration: none;
  color: var(--paper);
  background: var(--navy);
}
.market-panel + .market-panel { border-left: 1px solid rgba(255,255,255,.23); }
.market-photo, .tokyo-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.market-photo { transition: transform .7s ease; }
.market-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.37);
  transition: background .7s ease;
}
.market-panel-copy { width: 100%; max-width: 550px; }
.market-panel h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .12em;
  text-indent: .12em;
  color: rgba(255,255,255,.94);
  transition: color .7s ease;
}
.market-panel p { margin: 23px 0 0; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.6; letter-spacing: .055em; }
.market-panel-cta {
  width: min(245px, 100%);
  margin: 49px auto 0;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.55);
  color: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  transition: color .7s ease, border-color .7s ease;
}
.market-panel-cta > span { font-size: 21px; line-height: 1; }
.market-panel:focus-visible { outline-offset: -7px !important; }
@media (hover:hover) and (pointer:fine) {
  .market-panel:hover .market-photo { transform: scale(1.02); }
  .market-panel:hover::before { background: rgba(0,0,0,.30); }
  .market-panel:hover h2, .market-panel:hover .market-panel-cta { color: #fff; border-color: #fff; }
}
.market-panel:focus-visible::before { background: rgba(0,0,0,.30); }
.tokyo-introduction {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  min-height: max(660px, 86svh);
  display: flex;
  align-items: center;
  padding: 156px 7vw 88px;
}
.tokyo-introduction::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,26,53,.90), rgba(7,26,53,.67) 45%, rgba(7,26,53,.25));
}
.tokyo-copy { width: var(--wrap); margin: 0 auto; }
.tokyo-copy h1 { margin: 0 0 25px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(56px,6vw,82px); font-weight: 400; line-height: 1.1; letter-spacing: .12em; }
.tokyo-copy h2 { margin: 0 0 33px; font-size: 20px; line-height: 1.6; font-weight: 400; letter-spacing: .055em; }
.tokyo-copy p { max-width: 480px; margin: 0 0 18px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.9; }
.tokyo-inquiry-link { width: min(290px,100%); margin-top: 36px; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.55); font-size: 11px; letter-spacing: .14em; text-decoration: none; }
.tokyo-inquiry-link span { font-size: 22px; }
.tokyo-inquiry { padding: 72px 7vw 88px; scroll-margin-top: 24px; background: var(--navy); }
.tokyo-inquiry-inner { width: var(--wrap); margin: auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8vw; }
.tokyo-inquiry h2 { margin: 0; font-family: Georgia, 'Times New Roman', 'Noto Sans TC', serif; font-size: 32px; font-weight: 400; line-height: 1.4; }
.tokyo-contact-links { border-top: 1px solid rgba(255,255,255,.23); }
.tokyo-contact-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.23); text-decoration: none; }
.tokyo-contact-links a > span:first-child { font-size: 10px; letter-spacing: .12em; }
.tokyo-contact-links a > span:last-child { font-size: 13px; overflow-wrap: anywhere; }
.tokyo-contact-links b { margin-left: 18px; font-size: 17px; font-weight: 400; }
@media (min-width: 761px) and (max-height: 650px) {
  .market-panel { padding: 108px 5vw 24px; }
  .market-panel h2 { font-size: clamp(40px, 5vw, 64px); }
  .market-panel p { margin-top: 12px; }
  .market-panel-cta { margin-top: 28px; }
}
@media (max-width: 760px) {
  :is(.market-entry-page, .tokyo-page) .market-header { padding: 0 5vw; }
  :is(.market-entry-page, .tokyo-page) .brand-logo { width: 150px; height: 44px; }
  :is(.market-entry-page, .tokyo-page) .market-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 17px; padding: 0; border: 0; background: none; }
  :is(.market-entry-page, .tokyo-page) .market-nav a { font-size: 9px; letter-spacing: .05em; }
  :is(.market-entry-page, .tokyo-page) .market-nav .lang-switch { margin: 0; padding-left: 13px; }
  .market-split { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .market-panel { min-height: 350px; height: 56vh; height: 56svh; padding: 65px 7vw 33px; }
  .market-panel-tokyo { padding-top: 112px; }
  .market-panel + .market-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.23); }
  .market-panel h2 { font-size: clamp(45px, 10vw, 62px); }
  .market-panel p { margin-top: 13px; font-size: 14px; }
  .market-panel-cta { width: 216px; margin-top: 28px; padding: 15px 0; font-size: 10px; }
  .tokyo-introduction { min-height: 650px; min-height: max(650px, 82svh); padding: 135px 7vw 64px; }
  .tokyo-introduction::before { background: rgba(7,26,53,.72); }
  .tokyo-copy { width: 100%; }
  .tokyo-copy h1 { font-size: clamp(48px, 12vw, 64px); margin-bottom: 19px; }
  .tokyo-copy h2 { margin-bottom: 27px; font-size: 18px; }
  .tokyo-copy p { font-size: 15px; }
  .tokyo-inquiry { padding: 52px 7vw 64px; }
  .tokyo-inquiry-inner { width: 100%; grid-template-columns: 1fr; gap: 31px; }
  .tokyo-inquiry h2 { font-size: 28px; }
}
@media (max-width: 370px) {
  :is(.market-entry-page, .tokyo-page) .brand-logo { width: 126px; }
  :is(.market-entry-page, .tokyo-page) .market-nav { gap: 12px; }
  :is(.market-entry-page, .tokyo-page) .market-nav .lang-switch { padding-left: 10px; }
  .tokyo-contact-links a { flex-wrap: wrap; gap: 8px; }
  .tokyo-contact-links a > span:first-child { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.market-entry-page), html:has(.tokyo-page) { scroll-behavior: auto; }
  .market-panel *, .market-panel::before { transition: none; }
  .market-panel:hover .market-photo { transform: none; }
}
