@charset "UTF-8";
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: #232323;
  background: #fff;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid #177cb3;
  outline-offset: 5px;
}

.motion-story {
  height: 980vh;
}

.motion-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  isolation: isolate;
}

.site-header {
  position: absolute;
  top: 36px;
  left: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand__letters {
  font-family: sans-serif;
  font-size: 37px;
  font-weight: 900;
  letter-spacing: -4px;
}

.brand__caption {
  font-size: 7px;
  line-height: 1.25;
}

.site-header__note {
  font-size: 10px;
  letter-spacing: 2px;
  color: #777;
}

.hero-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: clip;
  z-index: 1;
  will-change: width, height, border-radius;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}

.hero-title {
  margin: 0;
}

.hero-title__letter {
  position: absolute;
  z-index: 3;
  font-size: min(90px, 6.4286vw);
  font-weight: 500;
  line-height: 1;
  will-change: transform;
}

.hero-intro {
  position: absolute;
  left: 7.14%;
  top: 17%;
  z-index: 4;
  width: 430px;
  max-width: 32%;
  font-size: 14px;
  line-height: 1.9;
}

.hero-intro__lead {
  font-size: clamp(14px, 1.4286vw, 20px);
  font-weight: 500;
}

.hero-supplies {
  position: absolute;
  left: 71%;
  top: 70%;
  width: 350px;
  max-width: 26%;
  z-index: 4;
  font-size: 16px;
  line-height: 1.8;
}

.hero-supplies small {
  font-size: 13px;
}

.text-link {
  background: none;
  border: 0;
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  color: inherit;
}

.text-link span {
  margin-left: 20px;
  display: inline-block;
  transition: transform 0.35s ease;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.photo-message {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.3;
  white-space: nowrap;
}

.photo-message span {
  margin-top: 1.8em;
}

.about-heading {
  position: absolute;
  left: 11.07%;
  top: 20%;
  z-index: 5;
}

.about-heading h2 {
  font: 500 64px/1.1 "Cabinet Grotesk", sans-serif;
  margin: 0 0 10px;
}

.about-heading p {
  font-size: 15px;
  margin: 0;
}

.route-stage {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.route-map {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
}

.route-map text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
}

.route-progress {
  fill: none;
  stroke: #232323;
  stroke-width: 3;
}

.route-description {
  position: absolute;
  right: 7.14%;
  bottom: 12%;
  width: 600px;
  max-width: 45%;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.route-caption {
  position: absolute;
  left: 50%;
  top: 73%;
  transform: translateX(-50%);
  margin: 0;
  background: #232323;
  padding: 8px 18px;
  color: white;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 2px;
}

.scroll-guide {
  position: absolute;
  z-index: 8;
  left: 40px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #777;
}

.scroll-guide span {
  height: 1px;
  width: 45px;
  background: currentColor;
}

.preview-end {
  min-height: 70vh;
  background: #f5f5f5;
  border-radius: 100px 100px 0 0;
  padding: 100px 11%;
}

.preview-end h2 {
  font: 500 64px/1.1 "Cabinet Grotesk", sans-serif;
  margin: 0 0 30px;
}

.preview-end p {
  font-size: 14px;
}

@media (max-width: 767px) {
  .motion-stage {
    min-height: 580px;
  }
  .site-header {
    top: 5.9459459459vw;
    left: 6.7567567568vw;
    right: 6.7567567568vw;
  }
  .brand__letters {
    font-size: 8.1081081081vw;
  }
  .brand__caption {
    font-size: 1.6216216216vw;
  }
  .site-header__note {
    font-size: 1.8918918919vw;
    letter-spacing: 1px;
  }
  .hero-title__letter {
    font-size: 7.027027027vw;
  }
  .hero-intro {
    left: 9.4594594595vw;
    top: auto;
    bottom: 9%;
    width: 81.0810810811vw;
    max-width: none;
    font-size: 3.2432432432vw;
    line-height: 1.65;
  }
  .hero-intro__lead {
    font-size: 3.7837837838vw;
  }
  .hero-supplies {
    display: none;
  }
  .photo-message {
    font-size: 7.5675675676vw;
  }
  .about-heading {
    left: 9.4594594595vw;
    top: 19%;
  }
  .about-heading h2 {
    font-size: 10.8108108108vw;
  }
  .about-heading p {
    font-size: 2.972972973vw;
  }
  .route-map {
    top: 20%;
    height: 55%;
  }
  .route-map text {
    font-size: 26px;
  }
  .route-description {
    right: auto;
    left: 9.4594594595vw;
    bottom: 10%;
    width: 81.0810810811vw;
    max-width: none;
    font-size: 3.5135135135vw;
    line-height: 1.9;
  }
  .route-caption {
    top: 63%;
    font-size: 3.2432432432vw;
  }
  .scroll-guide {
    left: 6.7567567568vw;
    bottom: 4.8648648649vw;
    font-size: 1.8918918919vw;
  }
  .preview-end {
    border-radius: 12.1621621622vw 12.1621621622vw 0 0;
    padding: 17.5675675676vw 9.4594594595vw;
  }
  .preview-end h2 {
    font-size: 11.3513513514vw;
  }
  .preview-end p {
    font-size: 3.5135135135vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .text-link span {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-story {
    height: auto;
  }
  .motion-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 36px max(35px, 7.14vw) 72px;
  }
  .site-header {
    position: static;
    margin-bottom: 65px;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .hero-title {
    opacity: 1 !important;
    visibility: visible !important;
    margin: 30px 0;
  }
  .hero-title::before {
    content: "はこぶ、つなぐ。";
    display: block;
    text-align: center;
    font-size: clamp(30px, 5vw, 64px);
    font-weight: 500;
  }
  .hero-title__letter {
    display: none;
  }
  .hero-photo {
    position: static;
    width: min(400px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1;
    transform: none;
    margin: 0 auto;
    border-radius: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: auto;
  }
  .hero-intro {
    position: static;
    width: min(600px, 100%);
    max-width: none;
    margin: 35px auto 70px;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .hero-supplies, .photo-message, .scroll-guide {
    display: none;
  }
  .about-heading {
    position: static;
    margin: 0 0 20px;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .route-stage {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .route-map {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1.4;
  }
  .route-caption {
    position: static;
    transform: none;
    width: fit-content;
    margin: 10px auto 25px;
  }
  .route-description {
    position: static;
    width: min(600px, 100%);
    max-width: none;
    margin: 0 auto;
  }
  .preview-end {
    min-height: 0;
  }
}
.hero-title__comma {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.mobile-opening {
  display: none;
}

.route-callout path {
  stroke-width: 1;
}

.route-callout text {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .mobile-opening {
    display: block;
    padding-bottom: 20.2702702703vw;
  }
  .mobile-opening__art {
    height: 118.9189189189vw;
    position: relative;
  }
  .mobile-opening__header {
    position: absolute;
    top: 5.9459459459vw;
    left: 5.4054054054vw;
    right: 5.4054054054vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-opening__photo {
    position: absolute;
    left: 50%;
    top: 70.2702702703vw;
    transform: translate(-50%, -50%);
    overflow: hidden;
  }
  .mobile-opening__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
  }
  .mobile-opening .hero-title__letter {
    font-size: 11.4467297297vw;
  }
  .mobile-opening .hero-intro, .mobile-opening .hero-supplies {
    display: block;
    position: static;
    width: 81.0810810811vw;
    max-width: none;
    margin: 0 auto;
    font-size: 4.3243243243vw;
    line-height: 1.8;
  }
  .mobile-opening .hero-intro__lead, .mobile-opening .hero-supplies__lead {
    font-size: 5.9459459459vw;
    font-weight: 500;
    line-height: 1.8;
  }
  .mobile-opening .hero-intro p, .mobile-opening .hero-supplies p {
    margin: 0 0 8.1081081081vw;
  }
  .mobile-opening .hero-intro__lead {
    margin-bottom: 8.6486486486vw;
  }
  .mobile-opening .hero-supplies {
    margin-top: 12.972972973vw;
  }
  .mobile-opening .text-link {
    display: block;
    margin-left: auto;
    font-size: 3.5135135135vw;
  }
  .motion-story {
    height: 650vh;
  }
  .route-map {
    top: 17%;
    height: 70%;
  }
  .route-map text {
    font-size: 16px;
  }
  .route-map .route-callout text {
    font-size: 16px;
  }
  .route-progress {
    stroke-width: 3;
  }
  .about-heading {
    top: 8%;
  }
  .route-description {
    bottom: 2%;
    font-size: 3.2432432432vw;
    line-height: 1.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-message {
    display: block;
    position: static;
    transform: none !important;
    writing-mode: horizontal-tb;
    color: #232323;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    text-align: center;
    margin: 45px 0;
    font-size: clamp(24px, 4vw, 44px);
    white-space: normal;
  }
  .photo-message span {
    margin: 0;
  }
  .route-map {
    position: static;
    height: auto;
  }
  .route-callout {
    opacity: 1 !important;
    visibility: visible !important;
  }
  .route-caption {
    display: none;
  }
  .route-description {
    position: static;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .mobile-opening__photo {
    border-radius: 12px !important;
  }
  .mobile-opening .hero-title::before {
    display: none;
  }
  .mobile-opening .hero-title__letter {
    display: block;
  }
  .motion-story {
    height: auto;
  }
  .motion-stage {
    padding: 6.7567567568vw 5.4054054054vw 17.5675675676vw;
  }
  .motion-stage > .hero-photo {
    display: none;
  }
  .route-map {
    aspect-ratio: 370/755;
  }
  .route-description {
    width: 100%;
    font-size: 4.3243243243vw;
  }
}
@media (max-width: 767px) {
  .mobile-opening .hero-title {
    margin: 0;
  }
  .mobile-opening .hero-intro__lead {
    font-feature-settings: "palt";
  }
}
.mobile-route-summary {
  display: none;
}

@media (max-width: 767px) {
  .mobile-route-summary {
    display: block;
    padding: 6.7567567568vw 9.4594594595vw 18.9189189189vw;
  }
  .mobile-route-summary .route-description {
    position: static;
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: 4.3243243243vw;
    line-height: 1.8;
  }
  .route-map {
    top: 17%;
    height: 80%;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .route-map {
    height: auto;
  }
}
@media (max-width: 767px) {
  .about-heading {
    top: 21.6216216216vw;
  }
  .motion-stage {
    min-height: 0;
  }
  .route-stage {
    overflow: clip;
  }
  .route-map {
    top: 41.8918918919vw;
    bottom: auto;
    height: 204.0540540541vw;
    transform-origin: 50% 0;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .about-heading {
    position: static;
  }
  .route-stage {
    clip-path: none;
  }
  .route-map {
    position: static;
    height: auto;
    width: calc(100% + 10.8108108108vw);
    margin-left: -5.4054054054vw;
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-supplies {
    display: block;
    position: static;
    width: min(600px, 100%);
    max-width: none;
    margin: 30px auto 70px;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px;
    line-height: 1.8;
  }
  .hero-supplies__lead {
    font-size: 22px;
    font-weight: 500;
  }
}
@font-face {
  font-family: "ABC Service Zen";
  src: url("../assets/fonts/ZenKakuGothicNew-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.hero-intro, .hero-supplies {
  font-family: "ABC Service Zen", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

.hero-intro__lead, .hero-supplies__lead {
  font-weight: 500;
}

@font-face {
  font-family: "ABC Service Zen";
  src: url("../assets/fonts/ZenKakuGothicNew-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "ABC Cabinet Grotesk";
  src: url("../assets/fonts/CabinetGrotesk-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "ABC Cabinet Grotesk";
  src: url("../assets/fonts/CabinetGrotesk-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
body {
  font-family: "ABC Service Zen", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

.route-map text {
  font-family: "ABC Service Zen", "Hiragino Kaku Gothic ProN", sans-serif;
}

.about-heading h2, .preview-end h2 {
  font-family: "ABC Cabinet Grotesk", sans-serif;
  font-weight: 700;
}

.brand__caption, .text-link, .site-header__note, .scroll-guide {
  font-family: "ABC Cabinet Grotesk", sans-serif;
  font-weight: 500;
}

@font-face {
  font-family: "ABC Service Zen";
  src: url("../assets/fonts/ZenKakuGothicNew-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
.route-map text {
  font-weight: 500;
}

.js-origin text tspan, .js-destination text tspan {
  font-weight: 400;
}

.js-center-one text tspan, .js-center-two text tspan {
  font-weight: 300;
}

.hero-title__letter {
  width: 1em;
  height: 1em;
  --glyph-baseline: .9111111111em;
}

.native-title-glyph {
  display: block;
  position: absolute;
  left: var(--glyph-ink-x);
  top: calc(var(--glyph-baseline) + var(--glyph-ink-y));
  width: var(--glyph-ink-w);
  height: var(--glyph-ink-h);
  overflow: visible;
}

.hero-title__comma .native-title-glyph {
  left: calc(1em - var(--glyph-ink-w) - 0.1em);
  top: 0.05em;
}

@media (max-width: 767px) {
  .mobile-opening .hero-title__letter {
    --glyph-baseline: .8972230794em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title::before {
    content: none;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .hero-title {
    text-align: center;
  }
  .hero-title__letter {
    display: inline-block;
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    font-size: clamp(30px, 5vw, 64px);
  }
  .hero-title__comma .native-title-glyph {
    left: var(--glyph-ink-x);
    top: calc(var(--glyph-baseline) + var(--glyph-ink-y));
  }
}
.hero-intro > p, .hero-intro > .text-link, .hero-supplies > p {
  filter: blur(var(--service-blur, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro > p, .hero-intro > .text-link, .hero-supplies > p {
    filter: none;
  }
}
.route-legends {
  pointer-events: none;
}

.route-map .route-legends text {
  font-size: 14px;
  font-weight: 500;
}

.route-legends--vertical text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

@media (prefers-reduced-motion: reduce) {
  .route-legends {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
.hero-intro {
  font-size: 16px;
  line-height: 1.8;
}

.hero-intro__lead, .hero-supplies__lead {
  font-size: clamp(14px, 1.4286vw, 20px);
  line-height: 1.8;
}

.hero-intro > p:not(.hero-intro__lead), .hero-supplies > p:not(.hero-supplies__lead) {
  margin-bottom: 0;
}

.text-link {
  display: flex;
  align-items: center;
  gap: 5.0076px;
  width: max-content;
  margin-top: 24px;
  padding: 0;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.2;
}

.text-link__arrow {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 4px;
  overflow: visible;
}

.text-link:disabled {
  opacity: 1;
  cursor: default;
}

@media (min-width: 768px) {
  .hero-intro .text-link {
    margin-left: 15.6136071429vw;
  }
  .hero-supplies .text-link {
    margin-left: 17.5087vw;
  }
}
@media (max-width: 767px) {
  .service-pc-break {
    display: none;
  }
  .mobile-opening .text-link {
    display: flex;
    margin-top: 6.4864864865vw;
    margin-left: auto;
    padding: 0;
    min-height: 11.8918918919vw;
    font-size: 3.7837837838vw;
    gap: 1.3534054054vw;
  }
  .mobile-opening .text-link__arrow {
    width: 3.2432432432vw;
    height: 1.0810810811vw;
  }
}
.hero-supplies > .text-link {
  filter: blur(var(--service-blur, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .hero-supplies > .text-link {
    filter: none;
  }
}
.hero-intro > p, .hero-intro > .text-link, .hero-supplies > p, .hero-supplies > .text-link {
  filter: none !important;
}
