/* The homepage template uses its own outer element, independent of SWELL's article styles. */
body.tk-guide-page { margin: 0; background: #fff; }
.tk-home {
  --ink: #17364b;
  --sea: #125d85;
  --muted: #4b6475;
  --line: #d3e4ef;
  --paper: #fff;
  --sky: #edf7fd;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans CJK JP", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-align: start;
}
.tk-home, .tk-home *, .tk-home *::before, .tk-home *::after { box-sizing: border-box; }
.tk-home :is(h1,h2,h3,p,ul) { margin: 0; padding: 0; }
.tk-home ul { list-style: none; }
.tk-home img { display: block; height: auto; max-width: 100%; vertical-align: middle; }
.tk-home a { color: inherit; text-decoration: none; box-shadow: none; }
.tk-home button, .tk-home input { font: inherit; }
.tk-home [id] { scroll-margin-top: 24px; }
.admin-bar .tk-home [id] { scroll-margin-top: 58px; }
.tk-home a:focus-visible, .tk-home button:focus-visible, .tk-home input:focus-visible, .tk-home [tabindex="-1"]:focus-visible {
  outline: 3px solid #155e95; outline-offset: 3px;
}
.tk-home .tk-wrap { width: min(1152px, calc(100% - 80px)); margin-inline: auto; }
.tk-home .tk-skip { position: absolute; z-index: 10; top: 0; left: 8px; transform: translateY(-125%); padding: 12px 20px; background: #fff; }
.tk-home .tk-skip:focus { transform: translateY(0); }
.tk-home .tk-mast {
  position: relative;
  z-index: 5;
  --tk-mast-landscape: url("mast-blue-mountains.webp");
  background: linear-gradient(90deg, #e8f9ff47 0%, #ecfaff66 37%, transparent 68%),
              #9edaf1 var(--tk-mast-landscape) center 58% / 100% clamp(100px, 14vw, 180px) no-repeat;
  border-bottom: 1px solid #9cbfc9;
  isolation: isolate;
}
.tk-home .tk-mast-inner { position: relative; display: flex; align-items: center; gap: 26px; min-height: 91px; }
.tk-home .tk-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: #10282e; }
.tk-home .tk-brand-image { width: 104px; height: auto; flex: none; position: relative; z-index: 1; mix-blend-mode: normal; opacity: 1; filter: none; }
.tk-home .tk-brand-name { display: grid; justify-items: center; gap: 3px; white-space: nowrap; }
.tk-home .tk-brand-lead { font: 750 31px/1.1 "Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif; letter-spacing: .05em; }
.tk-home .tk-brand-tail { font-size: 13px; line-height: 1.35; font-weight: 700; letter-spacing: .10em; }
.tk-home .tk-mast-tools { display: flex; align-items: center; gap: 9px; margin-inline-start: auto; flex: none; }
.tk-home .tk-mast-tool { position: static; margin: 0; padding: 0; border: 0; }
.tk-home .tk-mast-tool > summary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 15px; margin: 0; list-style: none; cursor: pointer;
  color: var(--ink); background: #fff; border: 1px solid #88a9bd; border-radius: 24px;
  font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.tk-home .tk-mast-tool > summary::-webkit-details-marker { display: none; }
.tk-home .tk-mast-tool > summary:focus-visible { outline: 3px solid #155e95; outline-offset: 2px; }
.tk-home .tk-mast-tool > summary svg { display: block; flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tk-home .tk-mast-tool[open] > summary { color: #fff; background: var(--sea); border-color: var(--sea); }
.tk-home .tk-tool-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% - 3px); z-index: 3;
  width: min(390px,100%); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px);
  overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 17px;
  border: 1px solid #c5ddeb; border-radius: 10px; background: #fff;
  color: var(--ink); box-shadow: 0 9px 26px #103e5d24;
}
.tk-home .tk-mast-tool:not([open]) > .tk-tool-panel { display: none; }
.tk-home .tk-mast-search form { margin: 0; }
.tk-home .tk-mast-search label { display: block; margin: 0 0 7px; font-size: 15px; font-weight: 700; }
.tk-home .tk-mast-fields { display: flex; align-items: stretch; gap: 7px; }
.tk-home .tk-mast-fields input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 11px; border: 1px solid #7798ab;
  border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5;
}
.tk-home .tk-mast-fields button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 5px; background: var(--sea); color: white; font-weight: 700; cursor: pointer; }
.tk-home .tk-mast-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; padding: 6px 13px; }
.tk-home .tk-mast-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 5px;
  min-height: 44px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--sea);
  font-size: 14px; line-height: 1.45; font-weight: 650;
}
.tk-home .tk-mast-menu a:last-child { border-bottom: 0; }
.tk-home .tk-mast-menu a::after { content: ""; flex: none; width: 6px; height: 6px; border: solid currentColor; border-width: 1.4px 1.4px 0 0; transform: rotate(45deg); margin-right: 3px; }
.tk-home .tk-main { margin: 0; padding: 0; display: block; }
.tk-home .tk-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #10364d; touch-action: pan-y pinch-zoom; }
.tk-home .tk-hero-photos, .tk-home .tk-hero-photos img, .tk-home .tk-hero::after { position: absolute; inset: 0; }
.tk-home .tk-hero-photos { z-index: -2; margin: 0; }
.tk-home .tk-hero-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 67% 36%; opacity: 0; transition: opacity 900ms ease-in-out; }
.tk-home .tk-hero-photos img:nth-child(2) { object-position: 67% 52%; }
.tk-home .tk-hero-photos img:nth-child(3) { object-position: 72% 49%; }
.tk-home .tk-hero-photos .is-active { z-index: 1; opacity: 1; }
.tk-home .tk-hero-photos .is-previous { opacity: 1; }
.tk-home .tk-hero::after { content: ""; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #082338f5 0%, #0b2c40e0 21%, #0b2c40a3 39%, #0b2c4023 61%, transparent 77%); }
.tk-home .tk-hero-inner { display: flex; align-items: center; min-height: clamp(368px,34vw,475px); padding-block: 46px 59px; }
.tk-home .tk-hero-copy { max-width: 65%; opacity: 1; transition: opacity 450ms ease-in-out; }
.tk-home .tk-hero-copy.is-copy-leaving { opacity: 0; }
.tk-home .is-hero-instant :is(.tk-hero-copy,[data-hero-slide]) { transition: none; }
.tk-home .tk-hero h1 { color: white; font: 700 clamp(40px,4.1vw,64px)/1.23 "Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif; letter-spacing: .01em; }
.tk-home .tk-hero h1 span { display: block; white-space: nowrap; }
.tk-home .tk-hero p { margin-top: 16px; color: #fff; font-size: clamp(15px,1.25vw,18px); line-height: 1.75; font-weight: 500; }
.tk-home .tk-hero p span { display: inline-block; }
.tk-home .tk-first { display: inline-flex; align-items: center; gap: 20px; margin-top: 21px; min-height: 46px; border-radius: 4px; padding: 10px 17px; background: #fff; color: #153d57; font-size: 15px; font-weight: 750; line-height: 1.5; }
.tk-home .tk-first::after { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 1.7px 1.7px 0 0; transform: rotate(45deg); }
.tk-home .tk-hero-toolbar { position: absolute; inset: auto 0 20px; display: flex; justify-content: flex-end; pointer-events: none; }
.tk-home .tk-hero-controls { display: flex; align-items: center; width: max-content; padding: 0 5px; pointer-events: auto; border: 1px solid #789caf; border-radius: 40px; background: #f3fafff5; color: var(--ink); }
.tk-home .tk-hero-controls[hidden] { display: none; }
.tk-home .tk-hero-controls button { appearance: none; display: grid; place-items: center; width: 40px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 100%; background: transparent; color: inherit; line-height: 1; cursor: pointer; }
.tk-home .tk-hero-controls .tk-choice { width: 30px; }
.tk-home .tk-choice i { display: block; width: 7px; height: 7px; border: 1px solid #49748e; border-radius: 50px; }
.tk-home .tk-choice[aria-pressed="true"] i { width: 18px; background: var(--sea); border-color: var(--sea); }
.tk-home .tk-hero-controls .tk-play { position: relative; }
.tk-home .tk-play::before { content: ""; position: absolute; left: 0; width: 1px; height: 17px; background: #a7c9dd; }
.tk-home .tk-play svg, .tk-home [data-hero-toggle-icon] { display: block; width: 15px; height: 15px; }
.tk-home .tk-step-icon { display: block; width: 8px; height: 8px; border: solid currentColor; border-width: 1.8px 1.8px 0 0; transform: rotate(45deg); }
.tk-home [data-step="-1"] .tk-step-icon { transform: rotate(225deg); }
.tk-home .tk-hero-controls button:focus-visible, .tk-home .tk-first:focus-visible { outline: 2px solid white; outline-offset: 1px; box-shadow: 0 0 0 4px #164765; }
.tk-home .tk-hero-controls button > * { pointer-events: none; }
.tk-home .tk-hero-controls button:disabled { opacity: .4; cursor: default; }
.tk-home .tk-visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.tk-home .tk-sections { padding-block: 36px 58px; }
.tk-home .tk-heading, .tk-home .tk-title-row h2 { font-size: clamp(23px,2.25vw,32px); line-height: 1.38; font-weight: 750; letter-spacing: -.025em; }
.tk-home .tk-routes > h2 { display: flex; align-items: center; gap: 20px; font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif; font-weight: 700; letter-spacing: .025em; }
.tk-home .tk-routes > h2::after { content: ""; flex: 1; height: 1px; background: #c4dfee; }
.tk-home .tk-route-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,1.7vw,22px); margin-top: 17px; }
.tk-home .tk-route { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 2px 7px #1745670c; }
.tk-home .tk-route img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.tk-home .tk-route-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 13px; min-height: 53px; font-size: clamp(15px,1.35vw,20px); line-height: 1.45; font-weight: 750; letter-spacing: -.03em; }
.tk-home .tk-down { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #e3f2fc; color: var(--sea); }
.tk-home .tk-down::before, .tk-home .tk-down::after { content: ""; position: absolute; left: 50%; }
.tk-home .tk-down::before { top: 6px; width: 1.5px; height: 10px; transform: translateX(-50%); background: currentColor; }
.tk-home .tk-down::after { top: 10px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateX(-50%) rotate(45deg); }
.tk-home .tk-popular { margin-block: 29px 49px; padding: 19px 23px; border: 1px solid #d1e7f3; border-radius: 5px; background: var(--sky); }
.tk-home .tk-popular h2 { font-size: 15px; font-weight: 750; line-height: 1.5; }
.tk-home .tk-pop-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 5px; }
.tk-home .tk-pop-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--sea); min-height: 43px; font-weight: 650; font-size: clamp(14px,1.26vw,17px); padding-right: 19px; line-height: 1.5; }
.tk-home .tk-pop-links a + a { border-left: 1px solid #c7e0ef; padding-left: 20px; }
.tk-home .tk-chevron { flex: 0 0 7px; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-right: 3px; }
.tk-home .tk-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(30px,6.5vw,92px); row-gap: 40px; }
.tk-home .tk-topic { min-width: 0; border-top: 3px solid #78b8da; padding-top: 16px; }
.tk-home .tk-topic h2 { font-size: clamp(22px,1.9vw,28px); }
.tk-home .tk-topic p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 8px 0 13px; }
.tk-home .tk-index { border-top: 1px solid var(--line); }
.tk-home .tk-index li { border-bottom: 1px solid var(--line); }
.tk-home .tk-index a, .tk-home .tk-recent-list a { display: flex; gap: 13px; align-items: center; justify-content: space-between; min-height: 49px; padding: 10px 3px 10px 0; line-height: 1.6; font-weight: 550; }
.tk-home .tk-index .tk-chevron, .tk-home .tk-recent-list .tk-chevron { color: #347397; }
.tk-home .tk-recent { margin-top: 51px; }
.tk-home .tk-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tk-home .tk-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--sea); gap: 6px; font-size: 14px; font-weight: 650; }
.tk-home .tk-recent-list { border-top: 1px solid var(--line); }
.tk-home .tk-recent-list li { border-bottom: 1px solid var(--line); }
.tk-home .tk-recent-list a { justify-content: start; gap: 22px; }
.tk-home .tk-recent-list time { min-width: 84px; font: 500 14px/1.5 system-ui,sans-serif; font-variant-numeric: tabular-nums; color: var(--muted); }
.tk-home .tk-recent-list .tk-chevron { margin-left: auto; }
.tk-home .tk-footer { padding: 33px 0 20px; border-top: 1px solid #bddbe9; background: #e4f3fc; color: var(--ink); }
.tk-home .tk-footer-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,375px); align-items: center; gap: 30px; }
.tk-home .tk-footer-name { display: block; font-size: clamp(19px,1.75vw,25px); font-weight: 750; }
.tk-home .tk-footer-intro a { display: inline-flex; align-items: center; gap: 5px; color: var(--sea); min-height: 42px; font-size: 14px; }
.tk-home .tk-site-search { min-width: 0; width: 100%; margin: 0; }
.tk-home .tk-site-search label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.tk-home .tk-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.tk-home .tk-search-row input { width: 100%; min-width: 0; border: 1px solid #7798ab; border-radius: 3px; background: #fff; color: var(--ink); font-size: 16px; padding: 9px 12px; line-height: 1.4; box-shadow: none; min-height: 44px; }
.tk-home .tk-search-row input::placeholder { color: var(--muted); opacity: 1; }
.tk-home .tk-search-row button { width: auto; min-width: 3.75rem; white-space: nowrap; cursor: pointer; border: 1px solid var(--sea); color: #fff; background: var(--sea); border-radius: 3px; padding: 8px 16px; font-weight: 650; min-height: 44px; }
.tk-home .tk-footer-nav { display: flex; gap: 0 23px; flex-wrap: wrap; margin-top: 24px; padding-top: 8px; border-top: 1px solid #bddbe9; }
.tk-home .tk-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sea); font-size: 14px; }
.tk-home .tk-footer small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
@media (hover: hover) {
  .tk-home :is(.tk-mast-menu,.tk-index,.tk-pop-links,.tk-recent-list,.tk-footer-nav) a:hover, .tk-home .tk-footer-intro a:hover, .tk-home .tk-text-link:hover { text-decoration: underline; text-underline-offset: .23em; }
  .tk-home .tk-route:hover { border-color: #6c9bb5; }
  .tk-home .tk-route:hover .tk-down { color: white; background: var(--sea); }
  .tk-home .tk-hero-controls button:hover:not(:disabled) { background: #dbeef9; }
  .tk-home .tk-first:hover { background: var(--sky); }
  .tk-home .tk-mast-tool:not([open]) > summary:hover { background: white; border-color: #5786a2; }
}
@media (max-width: 900px) {
  .tk-home .tk-wrap { width: calc(100% - 48px); }
  .tk-home .tk-mast-inner { min-height: 78px; gap: 18px; }
  .tk-home .tk-brand-image { width: 84px; }
  .tk-home .tk-route-name { padding: 9px; }
}
@media (max-width: 740px) {
  .tk-home .tk-route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tk-home .tk-pop-links { grid-template-columns: 1fr; }
  .tk-home .tk-pop-links a, .tk-home .tk-pop-links a + a { min-height: 44px; padding: 6px 2px 6px 0; border-left: 0; }
  .tk-home .tk-pop-links a + a { border-top: 1px solid #c7e0ef; }
}
@media (max-width: 620px) {
  .tk-home .tk-wrap { width: calc(100% - 36px); }
  .tk-home .tk-mast {
    --tk-mast-landscape: url("mast-blue-mountains-small.webp");
    background-size: auto, cover;
  }
  .tk-home .tk-mast-inner { min-height: 75px; gap: 8px; }
  .tk-home .tk-mast-tools { gap: 5px; }
  .tk-home .tk-mast-tool > summary { flex-direction: column; gap: 3px; width: 49px; min-height: 46px; padding: 4px 2px; border-radius: 11px; font-size: 11px; }
  .tk-home .tk-mast-tool > summary svg { width: 17px; height: 17px; }
  .tk-home .tk-tool-panel { top: calc(100% - 1px); }
  .tk-home .tk-brand { gap: 8px; }
  .tk-home .tk-brand-image { width: clamp(75px,21vw,88px); }
  .tk-home .tk-brand-name { gap: 2px; }
  .tk-home .tk-brand-lead { font-size: 24px; }
  .tk-home .tk-brand-tail { font-size: 11px; }
  .tk-home .tk-hero-inner { min-height: clamp(289px,68vw,345px); padding-block: 23px 57px; }
  .tk-home .tk-hero-photos img { object-position: 72% 48%; }
  .tk-home .tk-hero-photos img:nth-child(2) { object-position: 69% 49%; }
  .tk-home .tk-hero-photos img:nth-child(3) { object-position: 68% 52%; }
  .tk-home .tk-hero::after { background: linear-gradient(90deg,#072338f5 0%,#08293dd4 23%,#0b2e4396 43%,#0b2e4321 71%,transparent 90%); }
  .tk-home .tk-hero-copy { max-width: 82%; }
  .tk-home .tk-hero h1 { font-size: clamp(29px,7.9vw,44px); line-height: 1.24; letter-spacing: -.015em; }
  .tk-home .tk-hero p { font-size: 13px; line-height: 1.65; margin-top: 9px; text-shadow: 0 1px 4px #102c40; }
  .tk-home .tk-hero p span { display: block; }
  .tk-home .tk-first { min-height: 42px; padding: 8px 13px; gap: 13px; margin-top: 13px; font-size: 13px; }
  .tk-home .tk-hero-toolbar { bottom: 8px; }
  .tk-home .tk-hero-controls button { width: 32px; height: 34px; }
  .tk-home .tk-hero-controls .tk-choice { width: 26px; }
  .tk-home .tk-sections { padding-block: 24px 32px; }
  .tk-home .tk-routes > h2 { font-size: clamp(23px,5.6vw,29px); gap: 14px; }
  .tk-home .tk-route-grid { gap: 11px; margin-top: 13px; }
  .tk-home .tk-route-name { padding: 9px 8px; min-height: 45px; gap: 3px; font-size: clamp(14px,3.7vw,17px); }
  .tk-home .tk-popular { margin-block: 17px 27px; padding: 13px 14px 5px; }
  .tk-home .tk-popular h2 { font-size: 15px; }
  .tk-home .tk-pop-links a { font-size: 14px; }
  .tk-home .tk-topic-grid { grid-template-columns: 1fr; gap: 27px; }
  .tk-home .tk-topic { padding-top: 12px; }
  .tk-home .tk-topic p { margin: 6px 0 11px; }
  .tk-home .tk-index a { font-size: 15px; }
  .tk-home .tk-recent { margin-top: 29px; }
  .tk-home .tk-title-row { gap: 4px; margin-bottom: 6px; }
  .tk-home .tk-title-row h2 { font-size: 21px; }
  .tk-home .tk-text-link { font-size: 13px; }
  .tk-home .tk-recent-list a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; font-size: 14px; }
  .tk-home .tk-recent-list time { grid-column: 1; font-size: 12px; }
  .tk-home .tk-recent-list span { grid-column: 1; }
  .tk-home .tk-recent-list .tk-chevron { grid-column: 2; grid-row: 1 / 3; }
  .tk-home .tk-footer { padding: 23px 0 16px; }
  .tk-home .tk-footer-top { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .tk-home .tk-footer-nav { margin-top: 16px; gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .tk-home * { transition: none !important; } }
@media (max-width: 360px) {
  .tk-home .tk-route-name { font-size: 13px; padding-inline: 6px; }
  .tk-home .tk-down { width: 21px; height: 21px; }
}

