:root {
  --ink: #1b2228;
  --ink-2: #414c55;
  --muted: #7f8d97;
  --line: rgba(44, 86, 112, .2);
  --sea-1: #fcfdfe;
  --sea-2: #e7f0f5;
  --sea-3: #b5d0de;
  --paper: var(--sea-1);
  --measure: 783px;
  --orange: #e36c09;
  --sans: system-ui, "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  --fs: 12px;
  --lh: 24px;
  --gap: 12px;
  --fs-nav: 14px;
  --fs-title: 18px;
  --lh-small: 20px;
  --sec: 30px;
  --gutter: 96px;
}
@media (max-width: 1023px) { :root { --gutter: 48px; } }
@media (max-width: 640px) { :root { --gutter: 18px; --fs: 14px; --lh: 28px; --gap: 14px; --fs-title: 20px; --sec: 24px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--sea-3); }
body { font-family: var(--sans); font-size: var(--fs); line-height: var(--lh); color: var(--ink-2); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0; padding: 0 var(--gutter); }
.shell { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(var(--sea-1) 0, var(--sea-2) 320px, var(--sea-3) 100%); }
.shell > main { flex: 1; }
.logo-row { display: flex; align-items: center; min-height: 80px; padding-top: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .m { width: 40px; height: 40px; }
.brand .w { height: 16px; width: auto; max-width: none; }
.brand sup { font-size: 10px; line-height: 1; color: var(--ink); margin-left: -8px; transform: translateY(-7px); }
.tabs { border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 40px; }
.tabs a { padding: 9px 0 8px; font-size: var(--fs-nav); font-weight: 700; line-height: 24px; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--orange); border-bottom-color: var(--orange); }
.foot { border-top: 1px solid var(--line); padding: 12px 0; font-size: 10px; line-height: 16px; color: #8399a6; }
.foot a { white-space: nowrap; }
.foot a:hover { color: var(--orange); }
.home-main { background: url("assets/worldmap-earth.webp") no-repeat calc(var(--gutter) - 8px) 21px / 800px auto; padding: 28px 0 44px; }
main > .wrap { position: relative; }
.company { max-width: var(--measure); }
.company h1 { font-size: var(--fs-nav); font-weight: 700; line-height: var(--lh); color: var(--orange); margin-bottom: var(--lh); }
.company p + p { margin-top: var(--gap); }
.company .hl { color: var(--orange); font-weight: 700; }
.boat { position: absolute; top: -15px; inset-inline-end: var(--gutter); width: 78px; pointer-events: none; }
.boat svg, .boat img { width: 100%; height: auto; overflow: visible; }
.boat img { transform-origin: 60% 85%; transform: rotate(6deg); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(5.5deg); } 50% { transform: translateY(-2px) rotate(6.5deg); } }
@media (prefers-reduced-motion: reduce) { .boat img { animation: none; } }
.page { padding: 28px 0 44px; }
.page-top { position: relative; padding-bottom: var(--sec); }
.page-top h1 { font-size: var(--fs-nav); font-weight: 700; line-height: var(--lh); color: var(--orange); }
.page-top .lead { margin-top: var(--gap); max-width: var(--measure); }
.row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; max-width: var(--measure); padding: var(--sec) 0; border-top: 1px solid var(--line); }
.row > h2, .map-cap { font-size: var(--fs); font-weight: 700; line-height: var(--lh); color: var(--orange); }
.row-body { min-width: 0; }
.row-body p + p { margin-top: var(--gap); }
.row-body b { color: var(--ink); }
.routes { display: grid; grid-template-columns: 1fr; list-style: none; }
.routes li { border-bottom: 1px solid var(--line); }
.routes a, .routes span.r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; }
.routes a:hover { color: var(--orange); }
.routes small { font-weight: 400; color: var(--muted); font-size: var(--fs); margin-left: auto; padding-right: 10px; }
.routes.thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 8px; }
.routes.thumbs li { border-bottom: 0; }
.routes.thumbs a { flex-direction: column-reverse; justify-content: flex-start; align-items: stretch; gap: 4px; padding: 0; height: 100%; }
.routes.thumbs a > span { line-height: calc(var(--lh) - 8px); padding: 4px 0; }
.routes.thumbs img { width: 100%; height: auto; aspect-ratio: 960 / 700; border: 1px solid var(--line); border-radius: 2px; transition: border-color .15s; }
.routes.thumbs a:hover img { border-color: var(--orange); }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap) 24px; }
.items div b { display: block; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 100px; gap: 8px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:first-child { grid-row: span 2; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.strip.four { grid-template-columns: repeat(4, 1fr); }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip .zoom { overflow: hidden; aspect-ratio: 4 / 3; }
.strip .zoom img { height: 100%; transform: scale(1.55); }
.mosaic + .strip { margin-top: 8px; }
.strip .credit { grid-column: 1 / -1; font-size: 12px; line-height: var(--lh-small); color: var(--muted); }
.strip .credit a:hover { color: var(--orange); }
.ports2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap) 24px; }
.ports2 p { margin: 0 !important; }
.map-cap { margin: 0 0 var(--gap); }
.map + .map-cap { margin-top: var(--lh); }
.map { border: 0; background: none; }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; direction: ltr; }
.map-scroll svg { display: block; width: 100%; min-width: 760px; height: auto; }
.hint { display: none; color: var(--muted); text-align: center; padding: 4px 8px; }
.map + .row { margin-top: var(--sec) !important; }
.vessels { columns: 3; column-gap: 24px; }
.vessels div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.vessels span:first-child { color: var(--ink-2); }
.vessels span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.vessels div.more { border-bottom: 0; }
.vessels div.more span { color: var(--ink-2); }
.contact { display: grid; grid-template-columns: minmax(300px, max-content) 1fr; gap: 24px; align-items: start; }
.row.solo { grid-template-columns: 1fr; }
.row.first { border-top: 0; padding-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact address { font-style: normal; }
.contact address b { color: inherit; font-size: var(--fs); white-space: nowrap; }
.contact address a:hover { color: var(--orange); }
.contact img { mix-blend-mode: multiply; }
.map-credit { margin: 0; font-size: 10px; line-height: 16px; color: #8399a6; text-align: right; }
.map-credit a:hover { color: var(--orange); }
.links { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 56px; }
.links a:hover { color: var(--orange); }
@media (max-width: 640px) { .links { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
.aside-link { display: inline-block; margin-top: var(--gap); }
.row-gap { height: calc(2 * var(--sec) + var(--lh) + 1px); max-width: var(--measure); }
a.aside-link:hover { color: var(--orange); }
a.boat { pointer-events: auto; cursor: pointer; z-index: 1; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cat > a { display: block; }
.cats img { width: 100%; height: auto; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.cat b, .cat > a > span, .cat .brands { display: block; padding-inline-start: 9%; }
.cat b { font-size: var(--fs-nav); color: var(--ink); }
.cat > a > span { color: var(--muted); }
.cat > a:hover b { color: var(--orange); }
.cat .brands { margin-top: 12px; color: var(--ink-2); }
.cat .brands a, .cat .brands span { display: block; }
.cat .brands a:hover { color: var(--orange); }
.cat b sup, .tabs a sup, .page-top h1 sup { font-size: .68em; line-height: 0; position: relative; vertical-align: baseline; top: -.45em; }
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; list-style: none; }
.prods li > a, .prods li > span { display: flex; flex-direction: column; gap: 4px; }
.prods img, .prod-pics img, .prod-photo img { width: 100%; height: auto; filter: brightness(1.03); }
.prods img, .prod-pics, .prod-photo img { mix-blend-mode: multiply; }
.prods li > * > span { line-height: var(--lh-small); text-align: center; }
.prods a:hover { color: var(--orange); }
.prod { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; max-width: var(--measure); padding: var(--sec) 0; border-top: 1px solid var(--line); }
.prod-pics { position: sticky; top: 16px; display: grid; gap: 8px; }
.prod.two .prod-pics { position: static; }
.prod-info p { max-width: 60ch; }
.parts { width: 100%; border-collapse: collapse; }
.parts th, .parts td { text-align: start; vertical-align: top; padding: 3px 16px 3px 0; border-bottom: 1px solid var(--line); }
.parts th:last-child, .parts td:last-child { padding-inline-end: 0; }
.parts th { color: var(--ink); font-weight: 700; padding-top: 0; white-space: nowrap; }
.parts td.no { color: var(--muted); white-space: nowrap; }
.parts td.s { white-space: nowrap; }
.parts tr.sec td { color: var(--ink); font-weight: 700; padding-top: 15px; }
.parts tr.note td { color: var(--muted); }
.prod.wide { max-width: none; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); }
.prod-photo { max-width: 200px; margin-bottom: var(--gap); }
.prod-step { display: flex; justify-content: space-between; gap: 24px; max-width: var(--measure); padding: var(--gap) 0 0; color: var(--muted); }
.prod-step a:hover { color: var(--orange); }
@media (max-width: 1200px) {
  .prod.wide { max-width: var(--measure); grid-template-columns: 1fr; }
  .prod.wide .prod-pics { position: static; max-width: 600px; }
}
@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; }
  .prod-pics { position: static; max-width: 360px; }
  .prod.two .prod-pics { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 900px) {
  .cats { grid-template-columns: 1fr; gap: 28px; }
  .cat { width: 100%; max-width: 280px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .prods { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .parts th, .parts td { padding-inline-end: 10px; }
  .prod-step { flex-direction: column; gap: 4px; }
}
.flip-stage { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.fl-layer { position: absolute; inset: 0; }
.fl-strip { position: absolute; transform-origin: 0 50%; }
.fl-back { position: absolute; inset: 0; background: #d9e6ed; }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row-gap { height: calc(2 * var(--sec) + 2 * var(--lh) + 9px); }
  .contact { grid-template-columns: 1fr; gap: 24px; }
  .vessels { columns: 2; }
}
@media (max-width: 640px) {
  .logo-row { min-height: 64px; padding-top: 10px; }
  .brand .m { width: 34px; height: 34px; }
  .brand .w { height: 14px; }
  .tabs .wrap { gap: 0; justify-content: space-between; }
  .home-main { padding: 20px 0 32px; background-position: 10px 13px; background-size: calc(100% - 20px) auto; }
  .boat { width: 56px; inset-inline-end: 18px; top: 8px; }
  .company h1, .page-top h1 { padding-inline-end: 64px; }
  .contact address b { white-space: normal; display: inline-block; padding-inline-end: 64px; }
  .page { padding: 20px 0 32px; }
  .routes, .items, .ports2 { grid-template-columns: 1fr; }
  .routes.thumbs { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .strip, .strip.four { grid-template-columns: 1fr 1fr; }
  .vessels { columns: 1; }
  .map-scroll svg { min-width: 880px; }
  .hint { display: block; }
}
:lang(ja) { --sans: system-ui, "Yu Gothic UI", "Hiragino Sans", "Meiryo", sans-serif; }
:lang(ko) { --sans: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; word-break: keep-all; overflow-wrap: break-word; }
:lang(th) { --sans: system-ui, "Leelawadee UI", "Thonburi", "Tahoma", sans-serif; }
:lang(ar) { --sans: system-ui, "Segoe UI", "Geeza Pro", "Tahoma", sans-serif; }
:lang(ru) { --sans: system-ui, "Segoe UI", Arial, sans-serif; }
header { position: relative; }
@media (min-width: 641px) { .tabs .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); } }
.lang-box { margin-inline-start: auto; align-self: center; height: 26px; padding: 0 15px 0 21px; font: inherit; font-size: 13px; color: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 0; border-radius: 0; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23414c55' stroke-width='1.1'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cellipse cx='8' cy='8' rx='2.9' ry='6.5'/%3E%3Cpath d='M1.5 8h13M2.7 4.6h10.6M2.7 11.4h10.6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23414c55' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center, right center; background-size: 15px 15px, 9px 6px; }
.lang-box:hover, .lang-box:focus { outline: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e36c09' stroke-width='1.1'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cellipse cx='8' cy='8' rx='2.9' ry='6.5'/%3E%3Cpath d='M1.5 8h13M2.7 4.6h10.6M2.7 11.4h10.6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23e36c09' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lang-box:focus-visible { outline: 1px solid var(--orange); outline-offset: 3px; }
.lang-box.by-pointer:focus-visible { outline: 0; }
.lang-box option { color: var(--ink-2); background: #fff; }
[dir="rtl"] .lang-box { padding: 0 21px 0 15px; background-position: left 15px center, left center; }
@media (max-width: 800px) { .lang-box { position: absolute; top: 35px; inset-inline-end: var(--gutter); } }
@media (max-width: 640px) { .lang-box { top: 24px; inset-inline-end: 18px; height: 30px; font-size: 14px; } }
@media (max-width: 340px) {
  :root { --gutter: 12px; }
  .tabs a { font-size: 12px; white-space: nowrap; }
  .lang-box { inset-inline-end: 12px; }
}
.brand, svg.route-map { direction: ltr; }
.brand img, .routes.thumbs img { -webkit-user-drag: none; }
.brand, .brand img, .routes.thumbs a, .routes.thumbs img, .map-scroll { -webkit-touch-callout: none; }
.map-scroll { -webkit-user-select: none; user-select: none; }
[dir="rtl"] .home-main { background-position: right calc(var(--gutter) - 8px) top 21px; }
[dir="rtl"] [translate="no"]:not(.lang-box), [dir="rtl"] [dir="ltr"] { direction: ltr; unicode-bidi: isolate; text-align: right; }
[dir="rtl"] span[translate="no"] { display: inline-block; }
@media (max-width: 640px) { [dir="rtl"] .home-main { background-position: 10px 13px; } }
