/* Adapted from access-sample.html for the shared corporate design. */
.access-map-badge,
.access-map-reset,
.access-map-hint {
  position: absolute;
  z-index: 3;
}

.access-map-badge {
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #fff;
  background: var(--ink);
  font: 700 10px/1 "Figtree", sans-serif;
  letter-spacing: .18em;
}

.access-map-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(107, 212, 198, .2);
}

.access-map-reset {
  left: 20px;
  bottom: 20px;
  border: 1px solid rgba(22, 45, 58, .24);
  padding: 12px 16px;
  min-height: 44px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  font: 700 12px/1 "Noto Sans JP", sans-serif;
  cursor: pointer;
}

.access-map-reset:hover {
  color: #fff;
  background: var(--blue);
}

.access-map-hint {
  left: 50%;
  bottom: 20px;
  margin: 0;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 700;
  transform: translateX(-50%);
  white-space: nowrap;
}


.access {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(107, 212, 198, .14), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(0, 177, 238, .08), transparent 36%),
    linear-gradient(180deg, #fbfdfd 0%, #eef7f7 48%, #f9fbfb 100%);
}

.access::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background-image:
    linear-gradient(rgba(0, 105, 143, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 105, 143, .025) 1px, transparent 1px);
  background-size: 86px 86px;
  content: "";
  pointer-events: none;
}

.access-fiber-background {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: .32;
  pointer-events: none;
}

.access-fiber-background::before {
  position: absolute;
  inset: -20%;
  background: linear-gradient(112deg, transparent 39%, rgba(143, 232, 245, .04) 45%, rgba(183, 242, 233, .2) 50%, rgba(143, 232, 245, .05) 55%, transparent 61%);
  content: "";
  transform: translateX(-48%);
  animation: access-fiber-sweep 11s ease-in-out infinite;
}

@keyframes access-fiber-sweep {
  0%, 14% { transform: translateX(-48%); }
  72%, 100% { transform: translateX(48%); }
}

.access-intro-shell,
.access-shell {
  position: relative;
  z-index: 1;
}

.access-globe-grid {
  position: absolute;
  top: 58%;
  left: 68%;
  width: min(90vw, 1120px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(112, 216, 238, .22);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(112, 216, 238, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 216, 238, .09) 1px, transparent 1px);
  background-size: 74px 74px;
  box-shadow: inset 0 0 120px rgba(0, 177, 238, .06);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.access-globe-grid::before,
.access-globe-grid::after {
  position: absolute;
  inset: 12% -34%;
  border: 1px solid rgba(112, 216, 238, .24);
  border-radius: 50%;
  content: "";
}

.access-globe-grid::after {
  inset: -30% 18%;
}

.access-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(112, 216, 238, .5);
  border-radius: 50%;
  pointer-events: none;
}

@property --fiber-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.access-orbit::after {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(
    from var(--fiber-angle),
    transparent 0 66%,
    rgba(143, 232, 245, .08) 71%,
    rgba(143, 232, 245, .76) 78%,
    #ecfdff 82%,
    rgba(183, 242, 233, .78) 86%,
    transparent 94% 100%
  );
  content: "";
  filter: drop-shadow(0 0 6px rgba(112, 216, 238, .8)) drop-shadow(0 0 16px rgba(112, 216, 238, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: fiber-flow 4.2s linear infinite;
}

.orbit-b::after {
  animation-delay: -1.45s;
  animation-duration: 5.1s;
}

.orbit-c::after {
  animation-delay: -2.8s;
  animation-duration: 3.7s;
}

@keyframes fiber-flow {
  to { --fiber-angle: 360deg; }
}

.orbit-a {
  top: 14%;
  left: 7%;
  width: 82%;
  height: 41%;
  transform: rotate(13deg);
}

.orbit-b {
  top: 45%;
  left: 20%;
  width: 70%;
  height: 34%;
  transform: rotate(-26deg);
}

.orbit-c {
  top: 29%;
  left: 39%;
  width: 43%;
  height: 70%;
  transform: rotate(15deg);
}

.access-node {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #85deed;
  box-shadow: 0 0 0 7px rgba(133, 222, 237, .18), 0 0 27px rgba(133, 222, 237, .8);
  animation: network-node-glow 2.8s ease-in-out infinite;
}

.access-node:nth-of-type(2n) { animation-delay: -.9s; }
.access-node:nth-of-type(3n) { animation-delay: -1.8s; }

@keyframes network-node-glow {
  0%, 100% { box-shadow: 0 0 0 7px rgba(133, 222, 237, .16), 0 0 21px rgba(133, 222, 237, .66); }
  50% { box-shadow: 0 0 0 11px rgba(133, 222, 237, .06), 0 0 38px rgba(133, 222, 237, .9); }
}

.node-a { top: 22%; left: 31%; }
.node-b { top: 14%; left: 70%; }
.node-c { top: 40%; left: 52%; }
.node-d { top: 58%; left: 23%; }
.node-e { top: 82%; left: 55%; }
.node-f { top: 74%; left: 81%; }
.node-g { top: 33%; left: 91%; }

.access-shell,
.access-intro-shell {
  width: min(1160px, calc(100vw - 176px));
  margin: 0 auto;
}

.access-intro-shell {
  padding: 100px 0 44px;
}

.access-shell {
  padding: 0 0 114px;
}

.access-overview {
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  height: min(60vw, 610px);
  min-height: 544px;
  overflow: hidden;
  border: 1px solid var(--ink);
}

.access-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--paper);
}

.access-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin: 0;
}

.access-intro .section-title {
  flex: 1;
  margin-bottom: 0;
}

.access-lead {
  max-width: 470px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.access-overview-map {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 544px;
  overflow: hidden;
  border-left: 1px solid var(--ink);
  background: var(--ink);
}

.access-overview-map-canvas {
  position: relative;
  flex: 1;
  min-height: 418px;
  overflow: hidden;
  background: var(--ink);
}

.network-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: var(--ink);
}

.network-map .gm-style {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

.network-map.is-embed-fallback {
  overflow: hidden;
  background: #10242e;
}

.network-map-fallback {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-map-error {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  gap: 8px;
  padding: 32px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.access-map-error strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 500;
}

.access-map-error span {
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

.access-map-badge {
  top: 18px;
  left: 18px;
  padding: 12px 14px;
  font-size: 8px;
}

.access-map-badge span {
  background: var(--tms-blue);
  box-shadow: 0 0 0 4px rgba(0, 177, 238, .18);
}

  .access-map-reset {
  bottom: 18px;
  left: 18px;
    min-height: 44px;
    padding: 11px 14px;
  font-size: 10px;
}

.access-map-hint {
  bottom: 18px;
  padding: 10px 13px;
  font-size: 9px;
}

.access-filters {
  flex: 0 0 auto;
  display: flex;
  margin: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.access-filters button {
  flex: 1;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 18px 30px;
  color: var(--ink);
  background: transparent;
  font: 700 13px/1.2 "Noto Sans JP", sans-serif;
  cursor: pointer;
}

.access-filters button:first-child {
  border-left: 0;
}

.access-filters button.is-active {
  color: #fff;
  background: var(--ink);
}

.access-filters sup {
  margin-left: 6px;
  color: var(--tms-blue);
  font: 700 8px/1 "Figtree", sans-serif;
}

.access-overview-feature {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0 clamp(28px, 3vw, 46px);
  scrollbar-color: var(--tms-blue) transparent;
  scrollbar-width: thin;
}

.access-overview-feature::-webkit-scrollbar {
  width: 5px;
}

.access-overview-feature::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--tms-blue);
}

.access-overview-feature .access-location-card {
  grid-template-columns: 30px 1fr;
  gap: 18px;
  border-top: 0;
  padding: 32px 0;
  cursor: pointer;
}

.access-overview-feature .access-location-card:hover {
  background: linear-gradient(90deg, rgba(0, 177, 238, .06), transparent 72%);
}

.access-overview-feature .access-card-title-row {
  flex-direction: column;
  gap: 16px;
}

.access-overview-feature .access-location-type {
  align-self: flex-start;
}

.access-location-layout {
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(500px, 1.08fr);
  align-items: start;
  gap: clamp(38px, 6vw, 84px);
  margin-top: 92px;
}

.access-location-list {
  display: block;
  border: 0;
  border-top: 1px solid var(--ink);
}

.access-location-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  color: var(--ink);
  background: transparent;
  cursor: default;
  opacity: .68;
  transition: opacity .18s ease, border-color .18s ease;
}

.access-location-card span {
  margin: 0;
}

.access-location-card[hidden] {
  display: none;
}

.access-location-card:hover,
.access-location-card.is-selected {
  color: var(--ink);
  background: transparent;
  opacity: 1;
}

.access-location-card.is-selected {
  border-bottom-color: var(--tms-blue);
}

.access-card-index {
  padding-top: 6px;
  color: var(--tms-blue);
  font: 800 12px/1 "Figtree", sans-serif;
  letter-spacing: .12em;
}

.access-card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.access-card-title-row p {
  margin: 0 0 6px;
  color: var(--tms-blue);
  font: 700 8px/1 "Figtree", sans-serif;
  letter-spacing: .22em;
}

.access-card-title-row h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
}

.access-card-title-row > div > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 700 8px/1 "Figtree", sans-serif;
  letter-spacing: .16em;
}

.access-location-card .access-location-type {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 11px;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  line-height: 1.2;
}

.access-location-card:hover .access-location-type,
.access-location-card.is-selected .access-location-type {
  color: var(--muted);
}

.access-card-main address {
  margin-top: 24px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: .02em;
  line-height: 1.85;
}

.access-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.access-card-meta:empty {
  display: none;
}

.access-card-meta a,
.access-card-meta span {
  border-radius: 3px;
  padding: 7px 9px;
  color: var(--ink);
  background: rgba(22, 45, 58, .065);
  font-size: 9px;
  font-weight: 700;
}

.access-card-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.access-card-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 154px;
  border: 0;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease;
}

.access-card-actions button:hover {
  background: var(--blue);
}

.access-card-actions button span {
  margin: 0;
  color: var(--tms-blue);
  font-size: 14px;
}

.access-card-actions .access-zoom-button {
  justify-content: flex-start;
  min-width: 0;
  height: 44px;
  gap: 9px;
  border-radius: 24px;
  padding: 7px 15px 7px 8px;
}

.access-card-actions .access-zoom-button .access-zoom-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--tms-blue);
  font: 500 21px/1 "Figtree", sans-serif;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.access-card-actions .access-zoom-button > span:last-child {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
}

.access-card-actions .access-zoom-button:hover .access-zoom-icon,
.access-card-actions .access-zoom-button:focus-visible .access-zoom-icon {
  color: var(--tms-blue);
  background: #fff;
  transform: scale(1.06);
}

.access-card-actions a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
}

.access-map-panel {
  position: sticky;
  top: 22px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 28px 60px rgba(22, 45, 58, .16);
}

.access-map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 24px;
}

.access-map-topbar > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.access-map-topbar span {
  color: rgba(255, 255, 255, .45);
  font: 700 7px/1 "Figtree", sans-serif;
  letter-spacing: .2em;
}

.access-map-topbar strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
}

.access-map-topbar .access-live-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.access-live-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tms-blue);
  box-shadow: 0 0 0 5px rgba(0, 177, 238, .16);
  content: "";
}

.access-map-frame {
  height: clamp(430px, 43vw, 610px);
  overflow: hidden;
  background: var(--mist);
}

.access-map-frame iframe,
.access-map-frame > #access-google-map {
  width: 100%;
  height: 100%;
  border: 0;
}

.access-map-frame iframe {
  filter: grayscale(.84) contrast(1.04) saturate(.7);
}

.access-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 114px;
  gap: 22px;
  padding: 18px 24px;
}

.access-map-caption > div > span {
  color: var(--tms-blue);
  font: 800 11px/1 "Figtree", sans-serif;
  letter-spacing: .14em;
}

.access-map-caption strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.access-map-caption p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: 8px;
  line-height: 1.5;
}

.access-map-caption > a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  font-size: 19px;
  transition: background .16s ease, border-color .16s ease;
}

.access-map-caption > a:hover {
  border-color: var(--tms-blue);
  background: var(--tms-blue);
}

.access-overview-caption {
  flex: 0 0 auto;
  min-height: 126px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 28px;
  color: #fff;
  background: #143440;
}

.access-overview-caption strong {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.access-overview-caption p {
  margin-top: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
}

.access-overview-caption > a {
  width: 64px;
  height: 64px;
  border-color: rgba(255, 255, 255, .68);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: 24px;
}

.access-overview-caption > a:focus-visible {
  border-color: var(--tms-blue);
  background: var(--tms-blue);
}

.access-marker {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 46px;
  place-items: center;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.access-marker.is-active,
.access-marker.is-pulsing {
  z-index: 2;
}

.access-marker-label {
  display: grid;
  width: 46px;
  height: 34px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  border-radius: 2px;
  color: #fff;
  background: var(--tms-blue);
  box-shadow: 0 8px 18px rgba(16, 36, 46, .34);
  font: 800 12px/1 "Figtree", sans-serif;
  transition: background .18s ease, filter .18s ease, transform .18s ease;
}

.access-marker:hover,
.access-marker:focus-visible,
.access-marker.is-active {
  outline: 0;
}

.access-marker[hidden] {
  display: none;
}

.access-marker:hover .access-marker-label,
.access-marker:focus-visible .access-marker-label,
.access-marker.is-active .access-marker-label {
  background: var(--blue);
  filter: drop-shadow(0 0 8px rgba(0, 177, 238, .65));
  transform: scale(1.12);
}

.access-marker.is-pulsing .access-marker-label {
  background: var(--mint);
  filter: drop-shadow(0 0 10px rgba(107, 212, 198, .85));
  transform: scale(1.22);
}

@media (max-width: 900px) {
  .access-shell,
  .access-intro-shell {
    width: min(1160px, calc(100% - 176px));
  }

  .access-overview {
    grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr);
    min-height: 540px;
  }

  .access-overview-copy {
    padding: 0;
  }

  .access-overview-map {
    min-height: 540px;
  }

  .access-location-layout {
    grid-template-columns: minmax(390px, .92fr) minmax(410px, 1.08fr);
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .access-globe-grid {
    width: min(94vw, 680px);
  }

  .access-shell,
  .access-intro-shell {
    width: min(1160px, calc(100% - 176px));
  }

  .access-intro-shell {
    padding: 74px 0 38px;
  }

  .access-shell {
    padding: 0 0 80px;
  }

  .access-overview {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .access-overview-copy {
    height: min(60vh, 500px);
    padding: 0;
  }

  .access-intro {
    display: block;
  }

  .access-overview-map-canvas,
  .network-map {
    min-height: 400px;
  }

  .access-overview-map {
    height: auto;
    min-height: 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .access-location-layout {
    margin-top: 72px;
  }

  .access-filters button {
    flex: 1;
    min-width: 0;
    padding: 16px 8px;
  }

  .access-location-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 38px;
  }

  .access-location-list,
  .access-map-panel {
    width: 100%;
  }

  .access-map-panel {
    position: relative;
    top: 0;
    min-height: 0;
  }

  .access-map-frame {
    height: 55vw;
    min-height: 380px;
  }
}

@media (max-width: 780px) {
  .access-shell,
  .access-intro-shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 560px) {
  .access-shell,
  .access-intro-shell {
    width: calc(100% - 40px);
  }

  .access-intro-shell {
    padding: 61px 0 34px;
  }

  .access-overview-copy {
    height: min(58vh, 448px);
    padding: 0;
  }

  .access-overview-map-canvas,
  .network-map {
    height: 96vw;
    min-height: 376px;
  }

  .access-map-hint {
    display: none;
  }

  .access-marker {
    width: 50px;
    height: 42px;
  }

  .access-marker-label {
    width: 42px;
    height: 32px;
    font-size: 11px;
  }

  .access-card-title-row {
    gap: 14px;
  }

  .access-card-title-row h3 {
    font-size: 26px;
  }

  .access-location-type {
    font-size: 8px;
  }

  .access-card-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .access-card-actions button {
    width: 100%;
  }

  .access-card-actions .access-zoom-button {
    width: auto;
  }

  .access-map-frame {
    height: 112vw;
  }

  .access-map-caption p {
    max-width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-fiber-background::before,
  .access-orbit::after,
  .access-node {
    animation: none;
  }
}
