@media (min-width: 781px) {
  .content {
    width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: hidden;
  }
}
@media (max-width: 780px) {
  .content {
    width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: scroll;
  }
}
.menu {
  position: relative;
  z-index: 2;
}
@media (min-width: 781px) {
  .menu {
    height: 100dvh;
    overflow-y: scroll;
    width: var(--home-w);
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 40px;
  }
  .menu .content {
    width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: hidden;
  }
  .menu .logo {
    width: 160px;
    height: 83px;
  }
  .menu h1 {
    font-size: 4rem;
    margin-bottom: 10px;
  }
  .menu .introduction {
    font-size: 2rem;
    line-height: 3.2rem;
  }
  .menu .button a {
    height: 60px;
  }
}
@media (max-width: 780px) {
  .menu {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }
  .menu .content {
    width: 100vw;
    height: 100dvh;
    position: relative;
    overflow: scroll;
  }
  .menu .logo {
    width: 80px;
    height: 42px;
  }
  .menu h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  .menu .introduction {
    font-size: 1.8rem;
    line-height: 2.6rem;
  }
  .menu .button a {
    height: 100px;
  }
}
.menu .logo {
  background-color: var(--main-color);
  -webkit-mask-image: url(../img/logo.svg);
  mask: url(../img/logo.svg);
}
.menu h1 {
  font-weight: 900;
}
.menu .introduction {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 100;
}
.menu .button a {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--int-line-color);
  padding-left: 8px;
  padding-right: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  transition: 0.1s linear;
  box-shadow: 0px 0px 0px var(--sha-color);
}
.menu .button a:before {
  content: "";
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.27s ease-out;
  height: 100%;
}
.menu .button a.active {
  cursor: pointer;
}
.menu .button a.active:hover,
.menu .button a.active:focus {
  border: 0px solid var(--int-line-color);
  background-color: var(--main-3-color);
  outline: none;
  box-shadow: -5px 5px 10px var(--sha-color);
}
.menu .button a.active:hover:before,
.menu .button a.active:focus:before {
  transform: scaleX(1);
}
.menu .button a .icon {
  z-index: 2;
  position: relative;
  margin-right: 15px;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu .button a .icon div {
  width: 28px;
  height: 25px;
  background-color: var(--main-color);
  -webkit-mask-repeat: no-repeat;
}
.menu .button a .icon.t1 {
  background-color: var(--section-1-color);
}
.menu .button a .icon.t1 div {
  -webkit-mask-image: url(../img/1.svg);
  mask: url(../img/1.svg);
}
.menu .button a .icon.t2 {
  background-color: var(--section-2-color);
}
.menu .button a .icon.t2 div {
  -webkit-mask-image: url(../img/2.svg);
  mask: url(../img/2.svg);
}
.menu .button a .icon.t3 {
  background-color: var(--section-3-color);
}
.menu .button a .icon.t3 div {
  -webkit-mask-image: url(../img/3.svg);
  mask: url(../img/3.svg);
}
.menu .button a .icon.t4 {
  background-color: var(--section-4-color);
}
.menu .button a .icon.t4 div {
  -webkit-mask-image: url(../img/4.svg);
  mask: url(../img/4.svg);
}
.menu .button a .icon.t5 {
  background-color: var(--section-5-color);
}
.menu .button a .icon.t5 div {
  -webkit-mask-image: url(../img/5.svg);
  mask: url(../img/5.svg);
}
.menu .button a .text {
  z-index: 2;
  position: relative;
  user-select: none;
}
.menu .button a .text h4 {
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: bold;
  text-decoration: none;
}
.menu .button a .text h4 span {
  background-color: var(--main-color);
  color: var(--main-3-color);
  padding: 1px 3px;
  font-size: 0.9rem;
  border-radius: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.menu .button a .text p {
  font-size: 1.3rem;
  font-weight: 100;
  line-height: 1.8rem;
  text-decoration: none;
}
.menu .credit {
  margin-top: 30px;
}
.menu .credit div {
  margin-bottom: 3px;
  color: var(--credit);
}
.menu .credit div a {
  color: var(--credit);
}
.menu .credit div span {
  color: var(--credit);
  margin-left: 3px;
  margin-right: 3px;
}
@media (min-width: 781px) {
  .tile-container {
    width: calc(100vw - var(--home-w));
    left: var(--home-w);
    z-index: 2;
    height: 100dvh;
    position: absolute;
    top: 0;
  }
}
@media (max-width: 780px) {
  .tile-container {
    opacity: 1;
    overflow: hidden;
    height: calc(100vw / 4 * 3);
    width: 100vw;
    position: relative;
    z-index: 1;
  }
}
.tile-container .grid {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  margin-left: var(--home-c);
}
.tile-container .grid .pack {
  width: calc(((100vw - var(--home-w)) / var(--number)) - var(--home-c) - calc(var(--home-c) / var(--number)));
  height: calc(((100vw - var(--home-w)) / var(--number)) - var(--home-c) - calc(var(--home-c) / var(--number)));
  margin-top: var(--home-c);
  margin-right: var(--home-c);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tile-container .grid .pack div {
  border: 1px solid var(--int-line-color);
  border-radius: 10px;
  position: relative;
}
.tile-container .grid .pack div span {
  position: absolute;
  display: block;
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  background-color: var(--main-color);
  -webkit-mask-image: url(../img/database/21.svg);
  mask: url(../img/database/21.svg);
}
.tile-container .grid .pack div.g1 {
  width: calc(50% - (var(--home-c) / 2));
  height: calc(50% - (var(--home-c) / 2));
  margin-bottom: var(--home-c);
}
.tile-container .grid .pack div.g2 {
  width: 100%;
  height: 100%;
}
.tile-container .grid .pack div.p1 {
  width: calc(50% - (var(--home-c) / 2));
  height: calc(50% - (var(--home-c) / 2));
  margin-bottom: var(--home-c);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 0px solid var(--int-line-color);
  border-radius: 0px;
}
@media (max-width: 780px) {
  .tile-container .grid .pack div.p1 .g1 {
    display: none;
  }
  .tile-container .grid .pack div.p1 .g1:first-child {
    display: block;
    width: 100%;
    height: 100%;
  }
}
