:not(path) {
    font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
    color: #444;
    line-height: 1.2;
}

rt {
    font-size: 40%;
}

header {
    box-sizing: border-box;
    height: 64px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 999;
}

p {
    margin: 0.8em 0;
}

.notice>*,
.notice>* p {
    margin: 0.5em 0;
}

.notice>*>*:last-child {
    margin-bottom: 0;
}

.container {
    word-break: break-word;
    box-sizing: border-box;
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 2rem;
    background-color: white;
    width: 95%;
}

img {
    max-width: 100%;
    border-radius: 5px;
}

.frame {
    position: relative;
    padding: 12px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.frame::before,
.frame::after {
    position: absolute;
    width: 36px;
    height: 20px;
    content: '';
}

.frame::before {
    top: 0px;
    left: 0px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.frame::after {
    bottom: 0px;
    right: 0px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.shadow {
    box-shadow: 0 12px 25px 0 rgba(0, 0, 0, .15);
}

.edition>img {
    box-shadow: 0 5px 13px 0 rgba(0, 0, 0, .03);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

h1 {
    margin: 24px 0 24px;
    position: relative;
    border-bottom: 1px solid;
}

h2 {
    margin: 40px 0 24px;
    position: relative;
    border-bottom: 1px solid;
}

h1,
h2 {
    font-weight: normal;
    z-index: 2;
}

h3,
h4 {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    z-index: 2;
}

h4 {
    margin: 0.5em 0;
}

h1 .h-text {
    padding-left: 22px;
}

h2 .h-text {
    padding-left: 44px;
}

.overlap {
    position: absolute;
    top: -10px;
    left: -12px;
    font-size: 48px;
    color: #9d7106ba;
    z-index: -1;
}

ul {
    margin-block: 0.25rem;
}

.edition>div {
    position: relative;
    height: 100%;
}

.edition>div div:last-child {
    margin-top: auto;
}

a[href$=".zip"]::after {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 4px;
    opacity: 0.8;
}

a[target="_blank"]::after {
    content: "\f08e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 4px;
    font-size: 0.85em;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .edition {
        position: relative;
        width: 100%;
        margin: 20px 1%;
        flex: 0 0 31.333%;
        max-width: 31.333%;
        display: flex;
        flex-direction: column;
    }

    .beatrice-description {
        padding: 1rem 1%;
        flex: 2 0 48%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .beatrice-description-image {
        padding: 1rem 1%;
        flex: 2 0 48%;
    }
}

@media (max-width: 767px) {
    .edition {
        position: relative;
        width: 100%;
        margin: 20px 1%;
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .beatrice-description {
        position: relative;
        width: 100%;
        padding: 1rem 1%;
        flex: 2 0 98%;
        max-width: 100%;
    }

    .beatrice-description-image {
        padding: 1rem 1%;
        flex: 2 0 48%;
    }

    .container {
        padding-left: 4%;
        padding-right: 4%;
    }
}