html, body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 960px;
    font-size: 16px;
    font-family: YuMincho, "Yu Mincho", serif;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.pc {
    display: inherit;
}

.sp {
    display: none;
}

.header {
    height: 729px;
    margin-top: 50px;
    background: #059DD8;
}

.header .sp {
    width: 100%;
}

.header .kv-image {
    display: flex;
    justify-content: center;
}

.header .kv-image .kv-image-novel,
.header .kv-image .kv-image-comic {
    height: 729px;
    min-width: 960px;
    object-fit: cover;
    position: absolute;
    transition: opacity 2s;
}

.header .kv-image .kv-image-novel.hide,
.header .kv-image .kv-image-comic.hide {
    opacity: 0;
}

.header .frame {
    width: 960px;
    height: 100%;
    margin: auto;
    position: relative;
}

.header .header-notice {
    display: flex;
    width: 495px;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 600px;
    right: 50px;
    background: #001b62;
    opacity: 0.84;
    color: #ffffff;
    font-size: 37px;
    font-weight: bold;
    text-align: center;
}

.nav {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: #001448;
}

.nav .frame {
    width: 960px;
    height: 50px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav h1 {
    height: 46px;
}

.nav h1 img {
    height: 100%;
}

.nav .menu {
    flex: 1 1 auto;
}

.nav .menu a {
    margin: 0 10px;
    display: inline-block;
    color: #ffffff;
    font-size: 18px;
}

.nav .menu-button {
    display: none;
}

.nav .sns a {
    margin-left: 10px;
}

.background::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url("/img/body-bg.jpg?20220808");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.banner {
    display: block;
    width: 540px;
    height: 90px;
    margin: 16px auto -16px;
}

.section h2 {
    padding-top: 16px;
    margin-bottom: 8px;
    color: #b10000;
    font-size: 32px;
}

.section h3 {
    padding-top: 16px;
    margin-bottom: 8px;
    color: #b10000;
    font-size: 32px;
    border-bottom: solid 1px #b10000;
}

.section .frame {
    font-family: YuGothic, "Yu Gothic", sans-serif;
}

.section.story {
    height: 638px;
    padding: 70px;
    background: url("/img/story-frame.png") no-repeat center;
    text-align: center;
}

.section.story .frame {
    width: 500px;
    margin: auto;
}

.section.story p {
    line-height: 1.6;
}

.section.story .emphasis {
    padding: 1em 0;
}

.section.story .emphasis + .emphasis {
    padding-top: 0;
}

.section.news {
    padding-top: 90px;
    padding-bottom: 130px;
    margin-top: 50px;
    background: url("/img/news-frame.png?20241206") no-repeat center;
    background-size: 2300px 600px;
    text-align: center;
}

.section.news div {
    min-height: 275px;
    display: flex;
    align-items: center;
}

.section.news ul {
    width: 100%;
    padding-top: 16px;
    text-align: left;
}

.section.news li {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.news.date {
    width: 100px;
    vertical-align: top;
}

.news.detail {
    width: 440px;
}

.news.detail a {
    color: #b10000;
}

.section.characters {
    height: 982px;
    padding: 70px;
    background: url("/img/characters-frame.png") no-repeat center;
    text-align: center;
}

.section.characters .frame {
    width: 540px;
    margin: auto;
}

.section.characters .character-row {
    padding-bottom: 24px;
    overflow: hidden;
}

.section.characters .character-row:last-child {
    padding-bottom: 0;
}

.section.characters .character {
    width: 170px;
    margin-right: 15px;
    float: left;
    text-align: left;
}

.section.characters .character:last-child {
    margin-right: 0;
}

.section.characters .character_name {
    padding: 16px 0 8px;
    font-size: 20px;
    line-height: 1;
}

.section.books {
    width: 640px;
    padding: 16px 57px;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    background-size: 838px 1300px;
    box-shadow: 0 15px 20px 0 #5f5542;
}

.section.books .frame {
    width: 540px;
    margin-top: 24px;
}

.section.books .book {
    display: flex;
    margin-bottom: 32px;
}

.section.books .book:nth-last-child(2) {
    margin-bottom: 24px;
}

.section.books .book-cover {
    width: 210px;
}

.section.books .book-info {
    width: 314px;
    margin-left: 16px;
    text-align: left;
}

.section.books .book-title {
    padding-bottom: 5px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.section.books .book-price,
.section.books .book-summary {
    font-size: 14px;
}

.section.books .book-price {
    padding-bottom: 5px;
}

.section.books .book-summary {
    padding-bottom: 8px;
}

.section.books .book-release {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.section.books .book-release a {
    display: flex;
    width: 153px;
    height: 50px;
    margin-right: auto;
    margin-left: auto;
    background: #b10000;
    border: 2px solid #6f0909;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

.section.books .book-release .purchase {
    margin-right: 0;
}

.section.books .book-release .zero-yen:before {
    content: url('/img/zero-yen.svg?20241203');
    position: relative;
    top: 3px;
    margin-right: 4px;
}

.section.books .book-release a:hover {
    background: #ba2c2c;
}

.section.books .large a {
    width: 266px;
    margin-bottom: 24px;
}

.section.previous {
    width: 540px;
    margin: auto;
    padding-bottom: 80px;
    text-align: center;
}

.section.previous h2 {
    padding-top: 0;
    margin-bottom: 16px;
    background: #001b62;
    color: #ffffff;
    opacity: 0.84;
}

.section.previous .previous-banner {
    width: 400px;
    max-width: 100%;
    margin-bottom: 14px;
    display: inline-block;
}

.section.previous .previous-banner:last-child {
    margin-bottom: 0;
}

.pagetop {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1;
    background: #b10000;
    border: 1px solid #ffffff;
    border-radius: 100%;
}

.pagetop::before,
.pagetop::after {
    content: "";
    height: 4px;
    width: 15px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 2px;
}

.pagetop::before {
    transform: rotate(40deg);
    right: 12px;
}

.pagetop::after {
    transform: rotate(-40deg);
    left: 12px;
}

.footer {
    background: #000000;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.footer .frame {
    padding: 15px 40px;
}

.footer .copyright {
    padding-top: 10px;
}

/* スマホ */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: inherit;
    }

    body {
        min-width: 0;
    }

    .header {
        height: auto;
        background: none;
    }

    .header .kv-image {
        height: 121.8vw;
        background: #059DD8;
    }

    .header .kv-image .kv-image-novel,
    .header .kv-image .kv-image-comic {
        min-width: auto;
        height: auto;
    }

    .header .frame {
        width: auto;
    }

    .header .header-notice {
        width: auto;
        margin: 0 32px;
        top: initial;
        bottom: 110px;
        right: 0;
        left: 0;
        text-align: center;
        font-size: 20px;
    }

    .header .sns {
        padding: 20px;
        display: flex;
        justify-content: space-between;
    }

    .nav .frame {
        width: auto;
    }

    .nav .menu {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 50px;
        left: 0;
        overflow: hidden;
        background: #001448;
        transition: height .5s;
    }

    .nav.closed .menu {
        height: 0;
    }

    .nav .menu a {
        margin: 0;
        padding: 24px;
        display: block;
        text-align: center;
        border-top: 1px solid #465786;
    }

    .nav .menu a:last-child {
        border-bottom: 1px solid #465786;
    }

    .nav .menu-button {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        display: inline-block;
        position: relative;
        cursor: pointer;
    }

    .nav .menu-button img {
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity .5s;
    }

    .nav .menu-button .open,
    .nav.closed .menu-button .close {
        opacity: 0;
    }

    .nav .menu-button .close,
    .nav.closed .menu-button .open {
        opacity: 1;
    }

    .main {
        padding-top: 80px;
        margin-top: -80px;
        background-position: 93% top;
    }

    .section {
        position: relative;
    }

    .section h2 {
        padding-top: 0;
    }

    .frame-top,
    .frame-bottom {
        width: 100%;
        text-align: center;
    }

    .frame-bottom {
        margin-bottom: 32px;
    }

    .frame1.frame-top img,
    .frame1.frame-bottom img {
        width: 98%;
        height: 65px;
    }

    .frame2.frame-top img,
    .frame2.frame-bottom img {
        width: 100%;
        height: 89px;
    }

    .banner {
        width: calc(100vw - 24px);
        height: calc((100vw - 24px) * 90 / 540);
        margin: 0 12px;
    }

    .section.story {
        height: auto;
        margin: 0 12px;
        padding: 0 24px;
        background: rgba(255, 255, 255, .84);
        box-shadow: 5px 0 3px -3px rgba(255, 255, 255, 1), -5px 0 3px -3px rgba(255, 255, 255, 1);
    }

    .section.story .frame {
        width: auto;
    }

    .section.story p {
        padding-bottom: 1em;
        text-align: left;
    }

    .section.story p.emphasis {
        padding-top: 0;
    }

    .section.news {
        height: auto;
        padding: 0 24px;
        margin-top: 0;
        background: rgba(255, 255, 255, .84);
    }

    .section.news div {
        min-height: auto;
    }

    .section.news ul {
        width: calc(100% - 16px);
        margin: 0 auto;
    }

    .section.news li {
        flex-direction: column;
    }

    .news.detail {
        width: auto;
    }

    .section.characters {
        height: auto;
        margin: 0 12px;
        padding: 0 60px;
        background: rgba(255, 255, 255, .84);
        box-shadow: 5px 0 3px -3px rgba(255, 255, 255, 1), -5px 0 3px -3px rgba(255, 255, 255, 1);
    }

    .section.characters .frame {
        width: auto;
    }

    .section.characters .character {
        width: 100%;
        margin-right: 0;
        padding-bottom: 24px;
    }

    .section.characters .character:last-child {
        padding-bottom: 0;
    }

    .section.books {
        height: auto;
        width: auto;
        margin-right: 12px;
        margin-left: 12px;
        padding: 24px 16px;
    }

    .section.books .frame {
        width: auto;
        overflow: hidden;
    }

    .section.books .book {
        display: block;
    }

    .section.books .book-cover {
        width: auto;
        padding: 0 20px;
    }

    .section.books .book-info {
        width: auto;
        margin-left: 0;
        padding-top: 10px;
    }

    .section.books .book-release {
        display: block;
        margin-bottom: 24px;
    }

    .section.books .book-release a {
        width: 100%;
        height: 40px;
        padding: 8px 0;
    }

    .section.books .book-release a:first-child {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .section.previous {
        width: auto;
        padding: 32px;
    }

    .section.previous h2 {
        font-size: 20px;
        padding: 8px 0;
    }
}
