@charset "UTF-8";


/***********************/
/*     Font Family     */
/***********************/

@font-face {
  font-family: "gbb";
  src: url("../data/fonts/gbb.woff2") format("woff2");

  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-antique-regular {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.dotgothic16-regular {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.dela-gothic-one-regular {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/********************/
/*     begin GB     */
/********************/
.gb-body {
  position: relative;
  max-width: 380px;
  margin: 3em auto;
  height: 630px;
  border: 1px solid;
  background-color: oldlace;
  border-radius: 10px 10px 50px 10px;
}

.gb-text-top {
  position: absolute;

  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 10px;
  color: oldlace;
  background-color: silver;
  padding: 0 5px;

  border: 1px solid oldlace;
  border-radius: 10px;

  top: 6px;
  left: 45px;
}

.gb-text-top::before{
  content: "";
  position: absolute;
  top: -7px;
  left: 15px;
  transform: translateX(-50%);
  width: 18px;
  height: 8px;

  background-image:
    linear-gradient(to right,
      silver 0px, silver 3px, transparent 3px, 
      transparent 6px, silver 6px, silver 9px,
      transparent 9px, transparent 12px,
      silver 12px, silver 15px, transparent 15px);
  background-repeat: no-repeat;
}

.gb-border-vertical-left,
.gb-border-vertical-right {
  position: relative;
}

.gb-border-vertical-left::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 30px;
  width: 4px;
  height: 30px;
  background: silver;
}

.gb-border-vertical-right::after {
  content: '';
  position: absolute;
  top: 0px;
  right: 30px;
  width: 4px;
  height: 30px;
  background: silver;
}

.gb-border-top {
  position: relative;
}

.gb-border-top::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background: silver;
}

.gb-frame {
  position: relative;
  margin: 60px auto 0;
  max-width: 325px;
  height: 250px;
  border-radius: 10px 10px 50px 10px;

  background-color: silver;
}

.gb-double-left-line,
.gb-double-right-line {
  display: flex;
  font-size: 11px;
  position: absolute;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  color: black;
}

.gb-double-left-line::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 10px;
  max-width: 123px;
  width: 100%;
  height: 2px;
  background: #951D61;
}

.gb-double-left-line::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 10px;
  max-width: 123px;
  width: 100%;
  height: 2px;
  background: #391D93;
}

.gb-double-right-line::before {
  content: '';
  position: absolute;
  top: 9px;
  right: 10px;
  max-width: 47px;
  width: 100%;
  height: 2px;
  background: #951D61;
}

.gb-double-right-line::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 10px;
  max-width: 47px;
  width: 100%;
  height: 2px;
  background: #391D93;
}


.gb-pilot-lump {
  font-size: 10px;
  position: absolute;
  top: 32%;
  left: 6%;

  background: radial-gradient(circle, white 0%, red 45%, red 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gb-top-text,
.gb-left-text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 9px;
  color: white;
  position: absolute;
}

.gb-top-text {
  top: 2%;
  left: 137px;
}

.gb-left-text {
  top: 40%;
  left: 10px;
}

.gb-welcome {
  background-color: #9bbc0f;

  width: 100%;
  max-width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  overflow: hidden;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.glitch {
  font-family: "gbb", sans-serif;
  color: #0f380f;
  font-size: 19px;
  text-align: center;
  line-height: 1em;

  margin: 3em 0;

  animation: chromaticAberration 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;

  animation-delay: 3.5s;
}


.glitch > span {
  line-height: 1em;
  font-size: 37px;
  position: relative;
  left: 6.5px;
}


@keyframes chromaticAberration { 
  0%   { text-shadow: cyan 0px 0px 0px, magenta  0px 0px 0px; }
  5%   { text-shadow: cyan 4px 0px 1px, magenta -4px 0px 1px; }
  10%  { text-shadow: cyan 2px 0px 1px, magenta -2px 0px 1px; }
  15%  { text-shadow: cyan 1px 0px 1px, magenta -1px 0px 1px; }
  20%  { text-shadow: cyan 0px 0px 0px, magenta  0px 0px 0px; }
  95%  { text-shadow: cyan 1px 0px 1px, magenta -1px 0px 1px; }
  100% { text-shadow: cyan 2px 0px 1px, magenta -2px 0px 1px; }
}


.slide-up {
  display: block;
  animation: slideUpLoop 11s ease-in-out infinite;
}

@keyframes slideUpLoop {
  0%   { transform: translateY(150px); }
  30%  { transform: translateY(0); }
  70%  { transform: translateY(0); }
  100% { transform: translateY(-150px); }
}

.gb-garinoma-statement-tm {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-align: left;
  color: #391D93;
  margin-bottom: 1em;
  margin-left: 27px;
}

.gb-garinoma-statement-tm > span:first-of-type {
  font-size: 22px;
  padding-left: 0.2em;
  display: inline-block;
  transform: skewX(-10deg);
}

.gb-statement {
  max-width: 325px;
  margin: 0 auto;
  font-family: "DotGothic16";
  font-size: 17px;
  line-height: 1.8em;

  letter-spacing: 0.15em;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
  word-break: break-all;
}

@media screen and (max-width:500px) {
  .gb-body {
    height: 580px;
  }

  .gb-border-top::before {
    top: 23px;
  }

  .gb-border-vertical-left::after {
    height: 25px;
  }

  .gb-border-vertical-right::after {
    height: 25px;
  }

  .gb-text-top {
    font-size: 8px;
    left: 45px;
  }

  .gb-double-left-line::before {
    max-width: 110px;
  }

  .gb-double-left-line::after {
    max-width: 110px;
  }

  .gb-double-right-line::before {
    max-width: 36px;
  }

  .gb-double-right-line::after {
    max-width: 36px;
  }


  .gb-frame {
    max-width: 280px;
    height: 250px;
    margin: 45px auto 0
  }


  .gb-pilot-lump {
    font-size: 8px;
  }

  .gb-top-text,
  .gb-left-text {
    font-size: 7.5px;
  }

  .gb-top-text {
    top: 3%;
    left: 124px;
  }

  .gb-left-text {
    top: 40%;
    left: 10px;
  }

  .gb-welcome {
    max-width: 180px;
    height: 180px;
  }


  .glitch > span {
    line-height: 1em;
    font-size: 25px;
    left: 6.5px;
  }


  .gb-garinoma-statement-tm {
    font-size: 13px;
    margin-bottom: 1em;
    margin-left: 27px;
  }

  .gb-garinoma-statement-tm > span:first-of-type {
    font-size: 17px;
    padding-left: 0.2em;
  }

  .gb-statement {
    max-width: 280px;
    font-size: 15px;
  }

}
