  *,
      *::before,
      *::after {
        margin: 0;
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 100%;
      }

        @font-face {
            font-family: 'SM3Jgothic-03.otf';
            src:url('SM3Jgothic-03.otf') format('woff'),
                url('SM3Jgothic-03.otf') format('woff2');
        } 


      html,
      body {
        height: 100%;
        overflow: hidden;
        font-family: 'SM3Jgothic-03.otf', sans-serif;
        overflow: hidden;
      }

      html {
        font-size: 20px;
        background-color: white;
        overflow: hidden;
      }


      body {
        position: relative;
        font-family: 'SM3Jgothic-03.otf';
        font-size: 1.5rem;
        line-height: 1.5;
        word-break: keep-all;
        color: black;
        overflow: hidden;
   
      }

      .imgcontainer {
        position: absolute;
        top: 00%;
        height: 50%;
        width: 100%;
        overflow: hidden;

    }

      .textcontainer {
        position: absolute;
        top: 50%;
        height: 50%;
        width: 100%;
        overflow: hidden;
      }

      img {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 100%;
        transform: translate(-50%, -50%);
      }

      p {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        font-family: 'SM3Jgothic-03.otf'; 
        transform: translate(-50%, -50%);
        text-align: center;
        letter-spacing: -1.25px;
      }

      a {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        text-decoration: none;
        color: inherit;
        background-color: white;
        outline: 0;
      }

      a::-webkit-scrollbar {
        display: none;
      }

      a::after {
        content: "";
        display: block;
        clear: both;
      }

      a:not(:first-child) {
        display: none;
      }

      a:target {
        display: block;
      }

      a mark {
        background-color: transparent;
        font-family: 'SM3Jgothic-03.otf';
        -webkit-animation: fadeIn 1s;
        animation: fadeIn 1s;
      }

      a > figure {
        width: calc(50% - .5rem);
     /*   margin-top: .25rem;
        margin-bottom: 1rem;
        margin-left: 1rem;*/
        -webkit-animation: fadeIn 2s;
        animation: fadeIn 2s;
      }

      a figure img {
        display: block;
        width: 100%;
        object-fit: cover;
    object-position: center center;
      }

      a figure img:not(:last-of-type) {
        margin-bottom: .5rem;
      }


      @-webkit-keyframes fadeIn {
        0% {
          opacity: 0;
        }
        100% {
          opacity: 1;
        }
      }

      @keyframes fadeIn {
        0% {
          opacity: 0;
        }
        100% {
          opacity: 1;
        }
      }

      .center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 4vw;
      }

@media screen and (max-width:767px) {

      .textcontainer {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 50%;
        background-color: white;
        z-index: 99;
      }

      .imgcontainer {
        top: 0;
        left: 50%;
        width: 50%;
        height: 100%;
    }

    img {
      height: 10%;
      position: relative;
      -ms-transform: rotate(90deg); /* IE 9 */
      -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
      transform: rotate(90deg) translateX(-250%) translateY(-250%) scale(5);
      transform-origin: top left;

    }

    p {
      position: relative;
      -ms-transform: rotate(90deg); /* IE 9 */
      -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
      transform: rotate(90deg) translateX(-50%) translateY(-50%);
      width: 400%;
      transform-origin: top left;
      font-size: 2.5vw;
      letter-spacing: -0.75px;
    }

    mark {
      background-color: yellow;
    }
}


