/* 404 page styles, copied verbatim from the travel hub stylesheet (../source/travel-main/hub/static/css/hub.css,
   2026-11-06): the tokens, the base rules and the rules the 404 markup uses. Absolute rule 10 keeps them unchanged.
   Only selection: the two .main media rules keep the .main / main lines of their hub blocks, and .nf__langs a is the
   404 half of the hub rule ".ftr__langs a, .nf__langs a".
   The hub chrome (side menu, header, footer) comes with the hub layout in Phase 3. */
:root {
  --ink: #111318;
  --ink-2: #2b2f38;
  --ink-3: #4b5160;
  --muted: #6b7280;
  --faint: #9aa0ab;
  --line: #e9ebef;
  --line-2: #dde0e6;
  --soft: #f5f6f8;
  --soft-2: #eef0f3;
  --bg: #ffffff;
  --blue: #2563eb;
  --blue-50: #eef4ff;
  --yellow: #ffd43b;
  --yellow-50: #fff8db;
  --red: #ef4444;

  --r-s: 12px;
  --r: 18px;
  --r-l: 24px;
  --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(17, 19, 24, .04), 0 4px 14px rgba(17, 19, 24, .04);
  --sh-2: 0 18px 40px -24px rgba(17, 19, 24, .35);
  --sh-3: 0 30px 60px -30px rgba(17, 19, 24, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --side: 340px;
  --mtop: 60px;
  --font: Pretendard, 'Pretendard Fallback', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.22; text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.i3d, .masc { display: inline-block; flex: none; }
.i3d img, .masc img { width: 100%; height: auto; }
.main { min-width: 0; padding: 16px 32px 0 28px; }
main { max-width: 1160px; }
@media (max-width: 1180px) { .main { padding: 0 20px; } main { margin: 0 auto; } }
@media (max-width: 560px) { .main { padding: 0 16px; } }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.pill:hover { transform: translateY(-1px); }
.pill--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ink:hover { background: #2a2e38; }
.pill--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pill--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sec { padding-top: clamp(64px, 8vw, 104px); }
.sec--first { padding-top: 28px; }
.yhead__en { font-size: 15.5px; font-weight: 600; color: var(--ink-3); letter-spacing: -.01em; }
.yhead__h { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 4px; font-size: clamp(30px, 3.8vw, 44px); font-weight: 900; letter-spacing: -.05em; }
.lede { color: var(--ink-3); font-size: 17px; line-height: 1.7; }
.nf { display: grid; justify-items: center; gap: 12px; text-align: center; padding-bottom: 40px; }
.nf .masc { width: 200px; }
.nf__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.nf__langs a { display: inline-flex; align-items: center; min-height: 44px; }
.nf__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.nf__langs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
:lang(ja), :lang(zh) { word-break: normal; line-break: strict; }
html:lang(ja) { --font: Pretendard, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Noto Sans CJK JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, system-ui, sans-serif; }
html:lang(zh-Hans) { --font: Pretendard, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', system-ui, sans-serif; }
html:lang(zh-Hant) { --font: Pretendard, 'PingFang TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', system-ui, sans-serif; }
html:lang(ja) body, html:lang(zh-Hans) body, html:lang(zh-Hant) body { letter-spacing: 0; }
