@font-face {
    font-family: "Eina-Regular";
    src: url("./Eina01-Regular.ttf") format("opentype")
}
@font-face {
    font-family: "Eina-SemiBold";
    src: url("./Eina01-SemiBold.ttf") format("opentype")
}
* {
    margin: 0;
    padding: 0;
}
html, body {
    background: url(./pcBackground.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
}
main {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-wrapper div {
    display: inline;
    width: 40vw;
    float: left;
    max-width: 450px;
}
.main-wrapper > * {
    position: absolute;
}
.main-wrapper > div:first-child h2 {
    left: calc(100% + 28px);
    transform: translateX(-50%) rotate(90deg);
}
.main-wrapper > div:first-child p {
    text-align: right;
}
.main-wrapper > div:last-child {
    margin-top: 20px;
    bottom: 4%;
    left: 53.5%;
}
.main-wrapper > div:nth-child(2) {
    bottom: 54%;
    right: 51.5%;
    width: auto !important;
}
.main-wrapper > div:nth-child(2) h2 {
    left: 100%;
}
.main-wrapper > div:nth-child(2) h2 {
    transform: translateX(-50%) rotate(90deg);
}
.main-wrapper > div:nth-child(3) h2 {
    top: 37%;
}
.main-wrapper > div:nth-child(2) h2 {
    top: 37%;
}
.main-wrapper > div:nth-child(2) pre {
    padding-right: 20px;
    text-align: right;
}
.main-wrapper > div:nth-child(3) {
    /* bottom: 50%; */
    left: 53.5%;
    /* transform: translate(0, 28%); */
}
h2 {
    font-family: 'Eina-SemiBold';
    font-style: normal;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 21px;
    letter-spacing: 0.16em;
    color: #FFFFFF;
    position: absolute;
    top: 45%;
    left: -31px;
    transform: translateX(-50%) rotate(-90deg);
}
pre {
    font-family: 'Eina-Regular';
    font-size: 15px;
    line-height: 1.4em;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}
a {
    color: white;
    text-decoration: underline;
}
.pc-logo {
    width: 340px;
    bottom: 65%;
    transform: translate(0, -100%);
    right: 52.5%;
}
.main-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}
.logo:not(.pc-logo) {
    display: none;
}
.main-wrapper > div:last-child h2 {
    top: 40.3%; 
}
@media screen and (max-width: 1200px) {
    .main-wrapper > div:nth-child(2) {
        right: 52.5%;
    }
    .main-wrapper > div:nth-child(3), .main-wrapper > div:last-child {
        left: 54.5%;
    }
    .pc-logo {
        right: 54%;
    }
    h2 {
        left: -25px;
    }
}
@media screen and (max-height: 700px) {
    .main-wrapper > div:last-child {
        bottom: 2%;
    }
}
@media screen and (max-width: 1200px), (max-height: 890px) {
    pre {
        font-size: 12px;
        line-height: 1.2em;
    }
    h2 {
        font-size: 12px;
    }
    .pc-logo {
        width: 280px; 
        right: 53%;
    }
    .main-wrapper > div:nth-child(3) h2 {
        top: 41%;
    }
    .main-wrapper > div:nth-child(2) h2 {
        top: 39%;
    }
    .main-wrapper > div:last-child h2 {
        top: 43.5%; 
    }
}

@media screen and (max-width: 850px) {
    html, body {
        background: url(./background.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 100%;
    }
    .logo:not(.pc-logo) {
        display: block;
        position: absolute;
        top: 20px;
        left: 15px;
        width: 260px;
    }
    .pc-logo {
        display: none;
    }
    .main-wrapper > div:nth-child(2) h2 {
        left: -25px;
    }
    .main-wrapper > div {
        left: 60px;
    }
    .main-wrapper > div pre {
        text-align: left !important;
        margin-left: 20px;
    }
    .main-wrapper > div:nth-child(3) {
        left: 60px;
        top: 300px;
        height: 240px;
        bottom: 45%;
        transform: translate(0, 28%);
    }
    .main-wrapper div {
        width: 300px;
    }
    .main-wrapper > div:last-child {
        left: 60px;
        top: 600px;
        height: 190px;
    }
    .main-wrapper > div:nth-child(2) {
        top: 230px;
        height: 110px
    }
}
@media screen and (max-width: 470px) {
    /* .main-wrapper > div:nth-child(2) {
        top: 25%;
    }
    .main-wrapper > div:nth-child(2) h2 {
        top: 25%;
    }
    .main-wrapper > div:nth-child(3) {
        top: 32%;
    }
    .main-wrapper > div:last-child {
        top: 67%;
    } */
    .main-wrapper > div:last-child {
        top: 550px;
    } 
    .main-wrapper > div:nth-child(3) {
        top: 290px;
    }
    pre {
        font-size: 9px;
        line-height: 10px;
    }
    h2 {
        font-size: 9px;
        top: 35%;
    }
    .pc-logo {
        width: 280px; 
        right: 53%;
    }
    .logo:not(.pc-logo) { 
        top: 0;
    }
}

@media screen and (max-width: 390px) {
    .main-wrapper > div pre {
        margin-left: 5px;
    }
    .main-wrapper > div { 
        left: 45px !important;
    }
    .logo:not(.pc-logo) { 
        left: 2px !important;
    }
    .main-wrapper div {
        width: 150px;
    }
}