@font-face {
  font-family: "DPTFont"; /* You can name it anything */
  src: url("./din-2014.otf") format("opentype");
}

:root {
  --primary: #ff6b6b;
  --white: #ffffff;
  --dark: #000000;
  --gray: #444;
  --font-main: "Noto Sans JP", sans-serif;
  --font-number: "DPTFont", sans-serif;
  --swiper-navigation-size: 24px !important;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: #fff;
  color: var(--dark);
}

.income_h1 {
  font-family: var(--font-number);
}

#content-4 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#content-4.show {
  max-height: 1000px; /* large enough to show full content */
  opacity: 1;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 25% !important;
  margin-top: -30px;
  color: white !important;
  font-size: 15px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  left: 34px !important;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 34px !important;
  border-radius: 3px 0 0 3px;
}

.swiper-wrapper {
  width: 100%;
  height: max-content !important;
  padding-bottom: 64px !important;
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
}

.slideX-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
}

.slideY-img {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 650px) {
  .slideY-img {
    display: none;
  }
}

.flowingX-text {
  white-space: nowrap;
  font-size: 24px;
  color: #333;
  animation: flowX 20s linear infinite;
  padding: 20px 10px;
  position: absolute;
  left: 100%;
}

.flowingY-text {
  white-space: nowrap;
  font-size: 24px;
  color: #333;
  animation: flowY 20s linear infinite;
  padding: 20px 10px;
  position: absolute;
  top: 100vh;
}

@keyframes flowX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-300%);
  }
}

@keyframes flowY {
  0% {
    transform: translateY(-300%);
  }

  100% {
    transform: translateY(0);
  }
}