@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../theme/fonts/poppins-v19-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins-Light";
  font-style: normal;
  font-weight: 300;
  src: url("../theme/fonts/poppins-v19-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins-Medium";
  font-style: normal;
  font-weight: 500;
  src: url("../theme/fonts/poppins-v19-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins-Bold";
  font-style: normal;
  font-weight: 600;
  src: url("../theme/fonts/poppins-v19-latin-600.woff2") format("woff2");
}

:root {
  --cn-font: "Poppins", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.cn-home {
  font-family: var(--cn-font);
  background: #fff;
  color: #171717;
}

body.cn-home .maxwitheckstein,
body.cn-case-page .maxwitheckstein,
body.cn-service-page .maxwitheckstein {
  width: 100%;
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

html.desktop-version body,
html.desktop-version a,
html.desktop-version a:hover,
html.desktop-version button,
html.desktop-version .cursor-pointer,
html.desktop-version .custom-cursor {
  cursor: none !important;
}

html.desktop-version .cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  display: none;
  width: 32px;
  height: 32px;
  pointer-events: none !important;
  background: #717171;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%);
  transition: width 0.26s ease, height 0.26s ease, background 0.26s ease, opacity 0.4s ease;
}

html.desktop-version .cursor.show {
  opacity: 0.8;
}

html.desktop-version .cursor.white {
  background: #fff;
}

html.desktop-version .cursor.red {
  background: #ff3c46;
}

html.desktop-version .cursor.bigger {
  width: 50px;
  height: 50px;
  background: #ff3c46;
}

html.desktop-version .cursor.bigger::after {
  position: absolute;
  top: 7px;
  left: 10px;
  display: block;
  content: url("data:image/svg+xml,%3Csvg class='svg-icon inline-block transition duration-150 ease-in-out' width='30' height='30' aria-hidden='true' role='img' focusable='false' version='1.0' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 150 150' enable-background='new 0 0 150 150' xml:space='preserve'%3E%3Cpath d='M124,87.4H81.1V44.5H67.9v42.9H25v13.2h42.9v42.9h13.2v-42.9H124V87.4z'%3E%3C/path%3E%3C/svg%3E");
}

.cn-case-page {
  background: #fff;
}

.cn-service-page {
  background: #fff;
}

.cn-home .cms-text,
.cn-home p,
.cn-home li {
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.cn-home h1,
.cn-home h2,
.cn-home h3,
.cn-home h4 {
  letter-spacing: 0;
}

.cn-case-page .site-main {
  padding-top: 150px;
}

.cn-service-page .site-main {
  padding-top: 56px;
}

.cn-header {
  position: fixed !important;
  top: 0;
  left: 50%;
  z-index: 999;
  width: 100%;
  max-width: 100rem;
  height: 127px;
  background: rgba(255, 255, 255, 0.97);
  transform: translateX(-50%);
}

.cn-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.cn-logo {
  display: inline-flex;
  justify-content: center;
  color: #171717;
  text-decoration: none;
}

.cn-logo img {
  display: block;
  width: clamp(128px, 13vw, 184px);
  height: auto;
}

.cn-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-family: "Poppins-Light", var(--cn-font);
  font-size: 0.95rem;
  line-height: 1.2;
}

.cn-nav a {
  position: relative;
  color: #171717;
  text-decoration: none;
  transition: color 150ms ease;
}

.cn-nav a:hover,
.cn-nav a:focus-visible {
  color: #86754d;
}

.cn-menu-toggle {
  display: none;
}

.cn-video-hero {
  padding-top: 150px;
}

.cn-video-hero-shell {
  width: 100%;
}

.cn-video-headline {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.cn-video-headline h1 {
  line-height: 1.05;
  letter-spacing: -0.055em;
  max-width: 11.5em;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.5);
}

.cn-video-hero-media {
  display: block;
  width: 100%;
  max-width: none;
  background: #171717;
}

.cn-video-hero-media canvas {
  display: block;
  width: 100%;
  height: auto;
}

.cn-video-hero-media iframe {
  display: block;
}

.cn-first-section {
  padding-top: 72px;
}

.cn-case-hero {
  padding-top: 210px;
}

.cn-case-title {
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 11em;
}

.cn-case-subtitle {
  margin-top: 4rem;
  max-width: 1120px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.cn-case-lead {
  margin-top: 2.4rem;
  max-width: 920px;
}

.cn-case-full-image {
  display: block;
  width: 100%;
  height: auto;
  background: #f6f6f4;
}

.cn-case-overview,
.cn-case-meta,
.cn-case-two-col,
.cn-case-section,
.cn-case-image-pair,
.cn-case-award {
  margin-top: 8rem;
}

.cn-case-intro {
  max-width: 1120px;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cn-case-facts {
  display: grid;
  align-content: start;
  gap: 4rem;
  padding-top: 1rem;
}

.cn-case-facts ul {
  display: grid;
  gap: 0.65rem;
}

.cn-case-two-col p,
.cn-case-section p {
  max-width: 820px;
}

.cn-case-section p + p {
  margin-top: 1.4rem;
}

.cn-case-quote {
  margin-top: 8rem;
  padding: 7rem 0;
  background: #04052b;
  color: #fff;
}

.cn-case-quote h2 {
  max-width: 12em;
  margin: 0 auto;
  line-height: 1.08;
}

.cn-case-award-logo {
  display: block;
  width: min(220px, 60%);
  margin-bottom: 2rem;
}

.cn-service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #deded8;
}

.cn-service-card {
  min-height: 260px;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
}

.cn-service-card h3 {
  margin-bottom: 1.5rem;
}

.cn-reference-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  margin-bottom: 2rem;
  background: #f6f6f4;
}

.cn-process-chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: #deded8;
}

.cn-process-step {
  min-height: 170px;
  padding: clamp(1.25rem, 2vw, 2rem);
  background: #fff;
}

.cn-process-step span {
  display: block;
  margin-bottom: 1.2rem;
  color: #ff3c46;
  font-family: "Poppins-Medium", var(--cn-font);
}

.cn-contact-qr {
  display: grid;
  place-items: center;
  width: min(300px, 82vw);
  height: auto;
  margin: 0 auto 2rem;
  padding: 0;
  background: transparent;
  text-align: center;
}

.cn-contact-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.cn-contact-form {
  display: grid;
  gap: 1rem;
}

.cn-contact-form-card {
  max-width: 920px;
}

.cn-contact-form input,
.cn-contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #deded8;
  background: #fff;
  color: #171717;
  font: inherit;
}

.cn-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cn-related-projects {
  padding-bottom: 8rem;
}

.cn-page-title {
  max-width: 1180px;
}

.cn-home .shibuya_button .icon {
  font-size: 1.1rem;
  line-height: 1;
}

.cn-home .shibuya_projects img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: #f6f6f4;
}

.cn-usecase-image {
  position: relative;
}

.cn-usecase-awards {
  position: absolute;
  right: clamp(18px, 2.3vw, 34px);
  bottom: clamp(18px, 2.3vw, 34px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: calc(100% - 36px);
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.cn-usecase-awards img {
  display: block;
  width: auto !important;
  height: clamp(64px, 7vw, 112px);
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

.cn-home .shibuya_projects .cn-case-wide img {
  aspect-ratio: 16 / 9;
}

.cn-home .shibuya_projects .cn-case-wide {
  grid-column: 1 / -1;
}

.cn-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  margin-bottom: 4.3rem;
  background: #deded8;
}

.cn-logo-grid span {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  color: #363b3f;
  font-family: "Poppins-Medium", var(--cn-font);
  font-size: clamp(1rem, 1.55vw, 1.5rem);
  text-align: center;
}

.cn-logo-grid img {
  display: block;
  max-width: 170px;
  max-height: 58px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 160ms ease, opacity 160ms ease;
}

.cn-logo-grid span:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cn-service-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cn-home .redmode .shibuya_button {
  color: #fff;
}

.cn-award-frame {
  position: relative;
}

.cn-award-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 27%);
  gap: 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.cn-award-slider::-webkit-scrollbar {
  display: none;
}

.cn-award-slide {
  position: relative;
  scroll-snap-align: start;
}

.cn-related-slider {
  grid-auto-columns: calc((100% - 2.5rem) / 2);
  grid-template-columns: none;
  width: 100%;
}

.cn-related-slide img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  margin-bottom: 2rem;
  transition: transform 500ms ease;
}

.cn-related-slide:hover img {
  transform: scale(1.05);
}

.cn-award-slide > img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  margin-bottom: 2rem;
  transition: transform 500ms ease;
}

.cn-award-slide:hover > img {
  transform: scale(1.05);
}

.cn-award-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
}

.cn-award-badges img {
  display: block;
  width: auto;
  max-width: 82px;
  height: 34px;
  object-fit: contain;
}

.cn-slider-arrow {
  position: absolute;
  top: 40%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #171717;
  cursor: pointer;
  line-height: 1;
  transition: color 150ms ease, opacity 150ms ease;
  transform: translateY(-50%);
}

.cn-slider-arrow svg {
  display: inline-block;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.cn-slider-arrow-prev svg {
  transform: scaleX(-1);
}

.cn-slider-arrow-prev {
  left: -58px;
}

.cn-slider-arrow-next {
  right: -59px;
}

.cn-slider-arrow:hover,
.cn-slider-arrow:focus-visible {
  color: #171717;
  opacity: 0.7;
}

.cn-slider-arrow[disabled] {
  color: #dfdede;
  cursor: default;
  opacity: 1;
  pointer-events: none;
}

.cn-footer {
  margin-top: 0;
}

.cn-footer a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 768px) {
  .cn-footer .flex.flex-wrap > div {
    width: 25%;
    max-width: 25%;
    flex: 0 0 25%;
  }
}

.cn-footer-wechat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.cn-footer-wechat img {
  display: block;
  width: 152px;
  height: 152px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .cn-header {
    z-index: 1200;
    height: 92px;
    background: rgba(255, 255, 255, 0.98);
  }

  .cn-menu-toggle {
    position: relative;
    z-index: 1201;
    display: grid;
    gap: 0;
    width: 55px;
    height: 55px;
    place-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .cn-menu-toggle span {
    display: block;
    width: 39px;
    height: 3px;
    margin: 4px auto;
    background: #171717;
    transition: opacity 180ms ease, transform 260ms ease;
    transform-origin: center;
  }

  .cn-menu-toggle.trigger-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .cn-menu-toggle.trigger-open span:nth-child(2) {
    opacity: 0;
  }

  .cn-menu-toggle.trigger-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .cn-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(1rem, 2.5vh, 1.65rem);
    padding: clamp(7.5rem, 16vh, 10.2rem) clamp(1.75rem, 8vw, 6rem) 3rem;
    overflow-y: auto;
    background: #fff;
    color: #171717;
    font-size: clamp(2.35rem, 9vw, 5.4rem);
    line-height: 1.05;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
    transition: transform 270ms ease, opacity 160ms ease, visibility 0s linear 300ms;
  }

  .cn-nav a {
    display: block;
    overflow: hidden;
    color: #171717;
    opacity: 0;
    transform: translateY(110px);
    transition: opacity 220ms ease, transform 380ms ease;
  }

  .cn-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: transform 270ms ease, opacity 140ms ease, visibility 0s;
  }

  .cn-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .cn-nav.open a:nth-child(1) {
    transition-delay: 100ms;
  }

  .cn-nav.open a:nth-child(2) {
    transition-delay: 160ms;
  }

  .cn-nav.open a:nth-child(3) {
    transition-delay: 220ms;
  }

  .cn-nav.open a:nth-child(4) {
    transition-delay: 280ms;
  }

  .cn-nav.open a:nth-child(5) {
    transition-delay: 340ms;
  }

  .cn-nav.open a:nth-child(6) {
    transition-delay: 400ms;
  }

  .cn-nav.open a:nth-child(7) {
    transition-delay: 460ms;
  }

  .cn-video-hero {
    padding-top: 112px;
  }

  .cn-video-headline h1 {
    max-width: 10.5em;
  }

  .cn-first-section {
    padding-top: 56px;
  }

  .cn-case-hero {
    padding-top: 150px;
  }

  .cn-case-page .site-main {
    padding-top: 112px;
  }

  .cn-service-page .site-main {
    padding-top: 36px;
  }

  .cn-case-title {
    font-size: clamp(4rem, 11vw, 7rem);
  }

  .cn-case-subtitle {
    margin-top: 3rem;
  }

  .cn-case-overview,
  .cn-case-meta,
  .cn-case-two-col,
  .cn-case-section,
  .cn-case-image-pair,
  .cn-case-award {
    margin-top: 6rem;
  }

  .cn-award-slider {
    grid-auto-columns: minmax(260px, 46%);
    gap: 40px;
  }

  .cn-related-slider {
    grid-auto-columns: calc((100% - 40px) / 2);
  }

  .cn-slider-arrow-prev {
    left: 8px;
  }

  .cn-slider-arrow-next {
    right: 8px;
  }
}

@media (max-width: 749px) {
  html,
  body {
    overflow-x: hidden;
  }

  .cn-header {
    height: 82px;
  }

  .cn-logo img {
    width: 126px;
  }

  .cn-nav {
    padding: 7rem 1.5rem 3rem;
    font-size: clamp(2.55rem, 13vw, 4.5rem);
    line-height: 1.02;
  }

  .cn-nav a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cn-video-hero {
    padding-top: 98px;
  }

  .cn-video-headline h1 {
    font-size: 2.65rem;
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .cn-home .text-7xl,
  .cn-service-page .text-7xl,
  .cn-case-page .text-7xl,
  .cn-home .headline-thin,
  .cn-service-page .headline-thin,
  .cn-case-page .headline-thin {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .cn-home .cn-video-headline h1.text-7xl {
    max-width: 11.5em;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    font-size: clamp(2rem, 9.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .cn-first-section {
    padding-top: 46px;
  }

  .cn-case-hero {
    padding-top: 128px;
  }

  .cn-case-page .site-main {
    padding-top: 98px;
  }

  .cn-service-page .site-main {
    padding-top: 28px;
  }

  .cn-case-title {
    font-size: 3.35rem;
    line-height: 1.02;
  }

  .cn-case-subtitle {
    margin-top: 2rem;
  }

  .cn-case-lead {
    margin-top: 1.5rem;
  }

  .cn-case-intro {
    font-size: 1.55rem;
    line-height: 1.45;
  }

  .cn-case-overview,
  .cn-case-meta,
  .cn-case-two-col,
  .cn-case-section,
  .cn-case-image-pair,
  .cn-case-award {
    margin-top: 4rem;
  }

  .cn-service-card-grid {
    grid-template-columns: 1fr;
  }

  .cn-process-chain {
    grid-template-columns: 1fr;
  }

  .cn-case-quote {
    margin-top: 4rem;
    padding: 4.5rem 0;
  }

  .cn-home .text-4xl,
  .cn-home .md\:text-5xl,
  .cn-home .xl\:text-6xl {
    font-size: 1.95rem;
    line-height: 1.5;
  }

  .cn-logo-grid {
    grid-template-columns: 1fr;
  }

  .cn-footer .box-border {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cn-footer-wechat {
    width: 100%;
    align-items: flex-start;
  }

  .cn-footer-wechat img {
    width: min(180px, 55vw);
    height: min(180px, 55vw);
  }

  .cn-award-slider {
    grid-auto-columns: 100%;
    gap: 28px;
  }

  .cn-related-slider {
    grid-auto-columns: 100%;
  }

  .cn-home .shibuya_projects .cn-case-wide img {
    aspect-ratio: 1 / 1;
  }

  .cn-usecase-awards {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }

  .cn-usecase-awards img {
    height: 72px;
  }

  .cn-slider-arrow {
    width: 44px;
    height: 44px;
  }
}
