body {
    font-family: 'Bai Jamjuree', sans-serif;
    background: #9140c3;
    background-image: url('../img/prfr/prfrbg2.png'), linear-gradient(0deg, rgba(222, 168, 255, 1) 0%, rgba(145, 64, 195, 1) 100%);
    background-blend-mode: hard-light;
    background-attachment: fixed;
    color: #6b398b;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    margin: auto;
}

.wrapper>* {
    flex: 1 100%;
}

.header {
    background: transparent;
    height: 14vh;
    text-align: center;
    position: relative;
    line-height: 0.5rem;
    margin-bottom: 0.5rem;
}

.header h1 {
    font-family: 'Abril Fatface', display;
    font-size: 4rem;
    letter-spacing: 0.2rem;
    color: #dea8ff;
    text-shadow: 0.3rem 0.2rem #9140c3;
}

p.subheader {
    color: #e6e6fa;
    font-weight: 700;
}

.main {
    background: #e6e6fa;
    box-shadow: 0px 0px 5px 2px #e6e6fa;
    height: 75vh;
    overflow: auto;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #9140c3 #e6e6fa;
}

.main h2 {
    font-family: 'Abril Fatface', display;
    margin-top: 0.5rem;
    margin-bottom: -0.5rem;
    color: #9140c3;
    font-size: 1.8rem;
    text-indent: 0.2rem;
    text-decoration: underline #dea8ff;
    letter-spacing: 0.2rem;
}

.main h3 {
    font-family: 'Abril Fatface', display;
    color: #9140c3;
    line-height: 0.8rem;
    letter-spacing: 0.1rem;
    font-size: 1.3rem;
    font-weight: normal;
    text-indent: 1rem;
    text-decoration: underline #dea8ff;
}

.main h4 {
    color: #9140c3;
    line-height: 0.3rem;
    font-size: 1.1rem;
}

.main h2:before {
    content: url(../img/prfr/prfrnav.png);
    display: inline-block;
    padding-right: 0.5rem;
    vertical-align: middle;
}

.main h4:before {
    content: "🟣";
    padding-right: 0.2rem;
}

blockquote.stats {
    background-color: #9140c3;
    background-image: url('../img/prfr/prfrbg2.png');
    background-blend-mode: soft-light;
    color: #e6e6fa;
    font-style: normal;
    margin: 2rem;
    padding: 0.5rem;
    border-left: 1rem solid #6b398b;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

blockquote.stats h2 {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    color: #e6e6fa;
    text-shadow: 0.2rem 0.2rem #6b398b;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    text-transform: uppercase;
}

blockquote.stats h2:before {
    display: none;
}

.tit {
    color: #dea8ff !important;
    text-shadow: 0.1rem 0.1rem #6b398b;
    text-transform: uppercase;
    font-size: 1.1rem;
}

blockquote.stats b {
    color: #e6e6fa;
    letter-spacing: 0.05rem;
}

blockquote.stats p {
    line-height: 1rem;
    letter-spacing: 0.1rem;
    margin: 0.5rem;
}

blockquote.stats a {
    color: #e6e6fa !important;
    letter-spacing: 0.05rem;
}

blockquote.stats a:hover {
    color: #dea8ff !important;
    text-decoration: none;
}

blockquote {
    text-align: justify;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.3rem;
    margin: 0.8rem;
    padding-left: 0.5rem;
    border-left: 0.1rem solid #6b398b
}

blockquote b {
    font-style: normal;
    font-weight: 700;
    color: #6b398b;
}

.jp {
    font-family: 'BIZ UDPGothic', sans-serif;
}

.infonav {
    text-align: center;
    padding-left: 0 !important;
}

.infonav li {
    list-style: none;
    display: inline-block;
}

.infonav li::before {
    content: "💜";

}

.infonav a {
    background-color: transparent !important;
}

.main img {
    max-width: 100%;
}

.main b {
    color: #9140c3
}

.main i {
    color: #9140c3;
    font-weight: 700;
}

.main a:not(:has(img)) {
    color: #bb6fe9;
    padding: 0.1rem;
    font-weight: 700;
    text-decoration: underline solid #dea8ff;
}

.main a:not(:has(img)):hover {
    color: #dea8ff;
    background-color: #9140c3;
    padding: 0.1rem;
}

.abtsyc {
    display: block;
    float: right;
    padding-left: 0.4rem;
}

.abtlys {
    display: block;
    float: left;
    padding-right: 0.4rem;
}

.abtname {
    font-size: 1.1rem;
    text-decoration: underline;
}

.nav {
    background: transparent;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.nav ul {
    list-style: none;
    margin: auto;
    padding: 0;
    text-align: right;
}

.nav li:after {
    content: url(../img/prfr/prfrnav.png);
    display: inline-block;
    vertical-align: middle;
}

.nav li a {
    padding-right: 0.3em;
    text-decoration: none;
    color: #e6e6fa;
    text-shadow: 0.2rem 0.2rem #9140c3;
}

.nav li a:hover {
    color: #6b398b;
    text-shadow: 0.2rem 0.2rem #dea8ff;
}

.banner {
    background-image: url(../img/prfr/prfrbann.png);
    background-position: center;
    background-size: cover;
}

.content {
    display: inline-block;
    height: 29.5rem;
}

.footer {
    display: block;
    margin-top: 1.8rem;
    font-size: 0.8rem;
    color: #9140c3;
    text-align: right;
    padding-right: 0.5rem;
    border-right: 0.3rem solid #dea8ff;
}

@media only screen and (max-width: 799px) {
    body {
        margin: 0;
        padding: 0;
    }

    .header {
        height: 10vh;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .banner {
        background-image: url(../img/prfr/prfrbann2.png);
        background-position: center;
        background-size: cover;
        height: 30vh;
    }

    .nav {
        font-size: 1.2rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

    .nav ul {
        text-align: center;
    }

    .nav li {
        justify-content: center;
        display: inline-block;
    }

    .main {
        height: fit-content;
    }

    .nav li:after {
        display: none;
    }

    blockquote.stats {
        margin: 0.8rem;
        padding-bottom: 1.5rem;
    }

    .tit {
        font-size: 1rem;
    }

    blockquote.stats p {
        line-height: 1.6rem;
        margin: 0;
    }

    .footer {
        margin-top: 2.5rem;
        line-height: 1.1rem;
    }
}

@media only screen and (min-width: 800px) {
    .header h1 {
        line-height: 0.2rem;
    }

    .wrapper {
        width: 65rem;
        max-width: 100%;
    }

    .header {
        flex: 100%;
    }

    .nav {
        flex: 15%;
        margin-top: 3rem;
        line-height: 3rem;
    }

    .nav ul {
        padding-right: 0.5rem;
    }

    .banner {
        flex: 25%;
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .main {
        flex: 55%;
        height: 34.5rem;
        overflow: auto;
    }
}