body,
html {
  margin: 0;
  width: 100svw;
  height: 100svh;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  color: #000;
  background-color: #fff;
  overscroll-behavior-y: none;
}

canvas {
  position: absolute;
  width: 100svw;
  height: 100svh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

video {
  position: absolute;
  width: 100svw;
  height: 100svh;
  object-fit: cover;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: var(--transition-opacity);
  z-index: 100;

  transition:
    --transition-opacity 0.25s ease-in;
}

.overlay.transition-to-hide {
  --transition-opacity : 0
}

@property --transition-opacity {
  syntax: '<number>';
  initial-value: 1.0;
  inherits: false;
}

button {
  /* padding: 10px 20px; */
  font-size: 0px;
  cursor: pointer;
  border: none;
}

.overlay-content {
  position: relative;
  height: min(80svw, 80svh);
  width: calc(min(80svw, 80svh) * (1 / 1.2));
  aspect-ratio: 1 / 1.2;
  background: url('../images/window_intro.svg') no-repeat;
  background-size: cover;
}

#anicamera-start-button {
  position: absolute;
  width: 64%;
  right: 16%;
  bottom: -2%;
  background: url('../images/window_intro_button.svg') no-repeat;
  aspect-ratio: 44 / 13;
  border: none;
}

#anicamera-start-button:active {
  background-image: url('../images/window_intro_button_press.svg')no-repeat;
}

.swiper {
  width: 100svw;
  height: min(80svw, 80svh);
}

:root {
  --swiper-theme-color: #fff
}

.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(80svw, 80svh);
  height: 80%;
  margin: auto;
}

.swiper-slide-content {
  position: relative;
  height: min(80svw, 80svh);
  width: calc(min(80svw, 80svh) * (1 / 1.2));
  aspect-ratio: 1 / 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: aqua;
  background-size: cover;
}

.swiper-pagination-custom {
  bottom: var(--swiper-pagination-bottom, 20px);
}

.swipe-content-button {
  position: absolute;
  width: 60%;
  bottom: 21%;
  aspect-ratio: 64 / 13;
}

#overlay-howto-slide-00 {
  background: url('../images/window_intro.svg') no-repeat;
  background-size: cover;
}

#overlay-howto-slide-01 {
  background: url('../images/window_howto_01.svg') no-repeat;
  background-size: cover;
}

#overlay-howto-slide-01 > button{
  background: url('../images/window_howto_01_button.svg') no-repeat;
  background-size: cover;
}

#overlay-howto-slide-01 > button:active {
  background-image: url('../images/window_howto_01_button_press.svg')no-repeat;
}

#overlay-howto-slide-02 {
  background: url('../images/window_howto_02.svg') no-repeat;
  background-size: cover;
}

#overlay-howto-slide-02 >button {
  background: url('../images/window_howto_02_button.svg') no-repeat;
  background-size: cover;
}

#overlay-howto-slide-02 > button:active {
  background-image: url('../images/window_howto_02_button_press.svg')no-repeat;
}

.bottom-navigation {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 60px;
  padding: 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: end;
  gap: 24px;
  z-index: 10;
}

.bottom-navigation-button {
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

#help-button {
  background-image: url('../images/help_button.svg');
  opacity: 0.3;
}

#fullscreen-button {
  background-image: url('../images/fullscreen_button.svg');
  opacity: 0.3;
}

.hidden {
  display: none;
}