@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600&display=swap");
html {
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
}

body {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN",
        "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "游ゴシック", "YuGothic",
        sans-serif;
}

body {
  height: 100vh;
  margin: 0;
  text-align: center;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas{
    margin:0 auto;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
}


@media screen and (max-width: 1024px) {
    body{
        display: block;
        /*padding-top:150px;*/
    }
}

@media screen and (orientation: landscape) {
    canvas{
        height:100%;
    }
}
@media screen and (orientation: portrait) {
    canvas{
        width:100%;
    }
}
/*
@media screen and (max-width: 1000px) {
    canvas{
        width:100%;
    }
}*/

/*
.fv {
    height: 100vh; /* カスタムプロパティ未対応ブラウザ用のフォールバック */
    /*
    height: calc(var(--vh, 1vh) * 100);
  }*/

  .link{
    /*background:#000;*/
    padding:5px 10px;
    position:absolute;
    top:0;
    left:0;
    color:#fff;
    font-size:1.2rem;
    text-decoration: underline;
  }

@media screen and (orientation: portrait) {
    .link{
        width:100%;
        text-align: left;
        top:auto;
        bottom:10px;
        background:none;
        /*text-decoration: none;*/
    }
}