:root {
  --navy: #101f33;
  --blue: #2266b5;
  --light-blue: #e8f3fb;
  --gold: #d8a744;
  --red: #c94d4d;
  --ink: #182536;
  --muted: #647487;
  --line: #d9e3ec;
  --bg: #f6f8fb;
  --white: #fff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--white);
  background: rgba(10, 21, 36, .9);
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, 0));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border-radius: var(--radius);
}

.logo strong,
.logo small {
  display: block;
  line-height: 1.35;
}

.logo strong {
  font-size: 15px;
}

.logo small {
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  white-space: nowrap;
}

.nav a:hover {
  color: #dcecff;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 900;
  background: transparent;
  border-radius: 999px;
}

.language-switch a.is-active {
  color: var(--navy);
  background: var(--white);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px clamp(20px, 6vw, 86px) 72px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 18, 33, .94) 0%, rgba(7, 18, 33, .72) 28%, rgba(7, 18, 33, .22) 50%, rgba(7, 18, 33, 0) 72%),
    linear-gradient(180deg, rgba(7, 18, 33, .22), rgba(7, 18, 33, 0) 45%, rgba(7, 18, 33, .22)),
    url("assets/hero-buses-fuji.png") center right / cover no-repeat;
}

.hero::after {
  content: "KS KANKO";
  position: absolute;
  right: -36px;
  bottom: -38px;
  color: rgba(255, 255, 255, .08);
  font-size: clamp(72px, 13vw, 190px);
  font-weight: 900;
  line-height: 1;
}

.eyebrow,
.section-heading p,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(54px, 6.7vw, 92px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title span:nth-child(1) {
  font-size: .9em;
}

.hero-title span:nth-child(2) {
  padding-left: .58em;
}

.hero-title span:nth-child(3) {
  color: #dcecff;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__copy p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  font-weight: 900;
  border-radius: 999px;
}

.button--primary {
  color: var(--white);
  background: var(--red);
}

.button--secondary {
  color: var(--navy);
  background: var(--white);
}

.hero__stage {
  position: relative;
  z-index: 2;
  min-height: 640px;
}

.photo,
.wide-photo,
.service-photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(12, 28, 48, .06), rgba(12, 28, 48, .44)),
    linear-gradient(135deg, #b9d6e9, #f8fbff 42%, #86a9c9);
}

.photo::before,
.wide-photo::before,
.service-photo::before {
  content: "";
  position: absolute;
  inset: 18% 8% 18% 8%;
  border-radius: 44px 16px 16px 16px;
  background:
    linear-gradient(90deg, #1d334a 0 18%, #d8edf8 18% 100%);
  box-shadow:
    0 44px 0 -26px rgba(216, 167, 68, .9),
    0 70px 0 -34px rgba(16, 31, 51, .9);
}

.photo::after,
.wide-photo::after,
.service-photo::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 13%;
  left: 18%;
  height: 34px;
  background:
    radial-gradient(circle at 0 50%, #172235 0 17px, transparent 18px),
    radial-gradient(circle at 100% 50%, #172235 0 17px, transparent 18px);
}

.photo span,
.wide-photo span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  color: var(--white);
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
  padding: 7px 9px;
  background: rgba(8, 20, 34, .58);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  text-shadow: none;
}

.wide-photo span {
  top: auto;
  bottom: 18px;
  left: 22px;
}

.photo--main {
  position: absolute;
  top: 2%;
  right: -3%;
  left: -2%;
  height: 70%;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, .88) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, .88) 72%, transparent 100%);
}

.photo--sub {
  position: absolute;
  width: 46%;
  height: 31%;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, rgba(0, 0, 0, .78) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 50%, rgba(0, 0, 0, .78) 70%, transparent 100%);
}

.photo--airport {
  bottom: 96px;
  left: -4%;
  background:
    linear-gradient(rgba(12, 28, 48, .02), rgba(12, 28, 48, .38)),
    linear-gradient(135deg, #e4edf6, #9fc6e7);
}

.photo--city {
  right: 0;
  bottom: 18px;
  background:
    linear-gradient(rgba(12, 28, 48, .02), rgba(12, 28, 48, .42)),
    linear-gradient(135deg, #f1e7d2, #6f98bd);
}

.ticker {
  display: flex;
  gap: 34px;
  overflow: hidden;
  padding: 20px clamp(20px, 6vw, 86px);
  color: var(--navy);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 900;
  white-space: nowrap;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.ticker span:nth-child(even) {
  color: var(--blue);
}

.photo-slider {
  overflow: hidden;
  padding: 34px 0 42px;
  background: var(--white);
}

.photo-slider__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: clamp(20px, 6vw, 86px);
  animation: photoSlide 34s linear infinite;
}

.slide {
  position: relative;
  flex: 0 0 clamp(260px, 34vw, 500px);
  height: clamp(180px, 24vw, 320px);
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .46)),
    linear-gradient(135deg, #cfe3f0, #f8fbff 46%, #8dafce);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 24% 9% 24% 9%;
  border-radius: 44px 16px 16px 16px;
  background:
    linear-gradient(90deg, #1d334a 0 18%, #d8edf8 18% 100%);
  box-shadow:
    0 42px 0 -27px rgba(216, 167, 68, .9),
    0 68px 0 -35px rgba(16, 31, 51, .9);
}

.slide::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 18%;
  left: 20%;
  height: 32px;
  background:
    radial-gradient(circle at 0 50%, #172235 0 16px, transparent 17px),
    radial-gradient(circle at 100% 50%, #172235 0 16px, transparent 17px);
}

.slide span {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  color: var(--white);
  padding: 7px 13px 7px 14px;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(8, 20, 34, .78), rgba(34, 102, 181, .5));
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
}

.slide--airport {
  background:
    linear-gradient(rgba(12, 28, 48, .03), rgba(12, 28, 48, .45)),
    linear-gradient(135deg, #e8f0f8, #b7d6ee 52%, #6c90b0);
}

.slide--hotel {
  background:
    linear-gradient(rgba(12, 28, 48, .03), rgba(12, 28, 48, .43)),
    linear-gradient(135deg, #f5efe2, #d8a744 42%, #9dbbd2);
}

.slide--city {
  background:
    linear-gradient(rgba(12, 28, 48, .02), rgba(12, 28, 48, .44)),
    linear-gradient(135deg, #dff1ff, #ffffff 44%, #2266b5);
}

.slide--group {
  background:
    linear-gradient(rgba(12, 28, 48, .03), rgba(12, 28, 48, .45)),
    linear-gradient(135deg, #f1f6fa, #c7d9e8 48%, #c94d4d);
}

@keyframes photoSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 11px));
  }
}

@keyframes officeTextSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-34%);
  }
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 86px);
}

.message {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 14, 32, .95) 0%, rgba(6, 14, 32, .88) 35%, rgba(6, 14, 32, .50) 58%, rgba(6, 14, 32, .10) 80%),
    url("assets/bus-premium.jpg") center right / cover no-repeat;
  color: var(--white);
}

.message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  max-width: 900px;
}

.message h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: 0;
}

.message h2 {
  color: var(--white);
}

.message p {
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
}

.visual-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  padding-top: 0;
  background: var(--white);
}

.wide-photo {
  min-height: 360px;
  border-radius: 24px;
}

.wide-photo--travel {
  margin-top: 72px;
  background:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .44)),
    linear-gradient(135deg, #dbeef8, #f5fbff 44%, #d8a744);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 38px;
}

.service {
  background: var(--bg);
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.service-list article:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
}

.service-list article:nth-child(even) .service-photo {
  order: 2;
}

.service-photo {
  min-height: 280px;
  border-radius: 18px;
}

.service-list span,
.office-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.service-list h3,
.office-list h3 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
}

.service-list p,
.office-list p,
.flow-list p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
}

.offices {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(216, 167, 68, .34), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(34, 102, 181, .58), transparent 28%),
    linear-gradient(135deg, #071422 0%, #102a47 46%, #0b1c30 100%);
}

.offices::before {
  content: "TOKYO OSAKA NARITA  TOKYO OSAKA NARITA  TOKYO OSAKA NARITA";
  position: absolute;
  left: 0;
  bottom: -28px;
  color: rgba(255, 255, 255, .06);
  font-size: clamp(54px, 10vw, 140px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: officeTextSlide 28s linear infinite;
}

.offices .section-heading,
.office-list {
  position: relative;
  z-index: 1;
}

.offices .section-heading h2 {
  color: var(--white);
}

.office-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.office-list article {
  position: relative;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(232, 243, 251, .78));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .22);
}

.office-list article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.office-list article::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  background: rgba(34, 102, 181, .1);
  border-radius: 50%;
}

.office-list h3 {
  color: var(--navy);
}

.office-list p {
  color: #42556b;
}

.flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.flow-list li {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
}

.flow-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
}

.flow-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 19px;
}

.safety {
  background: var(--bg);
}

.safety__content {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.safety__photo {
  min-height: 320px;
  background:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .34)),
    url("assets/bus-premium.jpg") center / cover;
  border-radius: 18px;
}

.safety__text h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.25;
}

.safety__text p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 31, 51, .88), rgba(16, 31, 51, .92)),
    linear-gradient(135deg, #12335b, #2266b5);
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.contact-buttons .button {
  min-width: 190px;
}

.contact-phone {
  color: var(--navy);
  background: var(--white);
}

.footer {
  padding: 28px clamp(20px, 6vw, 86px);
  color: #263344;
  background: var(--white);
  border-bottom: 6px solid #0d2a63;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  font-size: 13px;
}

.footer-nav a {
  padding: 0 22px;
  line-height: 1;
  border-right: 1px solid #d4dbe4;
}

.footer-nav a:first-child {
  border-left: 1px solid #d4dbe4;
}

.footer-nav a:hover {
  color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .9s ease,
    transform .9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-list article.reveal:nth-child(2),
.office-list article.reveal:nth-child(2),
.flow-list li.reveal:nth-child(2) {
  transition-delay: .12s;
}

.service-list article.reveal:nth-child(3),
.office-list article.reveal:nth-child(3),
.flow-list li.reveal:nth-child(3) {
  transition-delay: .24s;
}

.flow-list li.reveal:nth-child(4) {
  transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.photo--main,
.photo--airport,
.photo--city,
.wide-photo,
.service-photo,
.slide {
  background-position: center;
  background-size: cover;
}

.photo--main::before,
.photo--main::after,
.photo--airport::before,
.photo--airport::after,
.photo--city::before,
.photo--city::after,
.wide-photo::before,
.wide-photo::after,
.service-photo::before,
.service-photo::after,
.slide::before,
.slide::after {
  display: none;
}

.photo--main {
  background-image:
    linear-gradient(rgba(12, 28, 48, .05), rgba(12, 28, 48, .22)),
    url("assets/bus-navy-city.jpg");
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.photo--airport {
  background-image:
    linear-gradient(rgba(12, 28, 48, .02), rgba(12, 28, 48, .34)),
    url("assets/airport-traveler.png");
}

.photo--city {
  background-image:
    linear-gradient(rgba(12, 28, 48, .02), rgba(12, 28, 48, .36)),
    url("assets/fuji-lake.png");
}

.wide-photo--bus {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .36)),
    url("assets/bus-white.jpg");
}

.wide-photo--travel {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .38)),
    url("assets/fuji-hotel.jpg");
}

.service-photo--airport {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .32)),
    url("assets/airplane-runway.png");
}

.service-photo--tour {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .34)),
    url("assets/fuji-lake.png");
}

.service-photo--group {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .32)),
    url("assets/bus-premium.jpg");
}

.slide--bus {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .45)),
    url("assets/bus-white.jpg");
}

.slide--airport {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .45)),
    url("assets/airport-traveler.png");
}

.slide--hotel {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .45)),
    url("assets/fuji-hotel.jpg");
}

.slide--city {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .45)),
    url("assets/fuji-lake.png");
}

.slide--group {
  background-image:
    linear-gradient(rgba(12, 28, 48, .04), rgba(12, 28, 48, .45)),
    url("assets/bus-port.jpg");
}

@media (max-width: 920px) {
  .site-header,
  .nav,
  .language-switch,
  .hero,
  .message__grid,
  .service-list article,
  .service-list article:nth-child(even),
  .office-list,
  .flow-list,
  .safety__content {
    display: block;
  }

  .nav {
    margin-top: 14px;
  }

  .language-switch {
    margin-top: 12px;
  }

  .nav a {
    display: inline-flex;
    margin: 0 10px 10px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__stage {
    min-height: 460px;
    margin-top: 42px;
  }

  .message {
    background:
      linear-gradient(rgba(6, 14, 32, .90), rgba(6, 14, 32, .72)),
      url("assets/bus-premium.jpg") center / cover no-repeat;
  }

  .message h2 {
    margin-bottom: 22px;
  }

  .service-photo,
  .safety__photo {
    min-height: 260px;
    margin: 0 0 18px;
  }

  .service-list article {
    margin-bottom: 18px;
  }

  .service-list article:nth-child(even) .service-photo {
    order: 0;
  }

  .office-list article,
  .flow-list li {
    margin-bottom: 14px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
  }

  .logo strong {
    font-size: 13px;
  }

  .nav {
    display: none;
  }

  .language-switch {
    display: inline-flex;
    margin-top: 10px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-title span:nth-child(2) {
    padding-left: 0;
  }

  .hero__stage {
    min-height: 360px;
  }

  .photo--main {
    left: 0;
    height: 62%;
  }

  .photo--sub {
    width: 58%;
  }

  .photo--city {
    right: 0;
  }

  .ticker {
    font-size: 24px;
  }
}
