/* loader */

#loader {
    background: #fdf3dd;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
}

/*背景*/
.loader,
.loader:before,
.loader:after {
    background: #aaa;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    height: 4em;
    width: 1em;
    top: 50%;
}

.loader {
    color: #ccc;
    text-indent: -9999em;
    margin: auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/* loader */

.nav_btn {
    display: none;
}

body {
    font-size: min(3.5vw, 18px);
    font-family: "M PLUS 1", sans-serif;
    color: #000;
    background: #fff;
    line-height: 1.5;
}

img {
    vertical-align: bottom;
}

.panlist {
    text-align: left;
    font-size: 12px;
    padding-left: 1em;
    color: #fff;
    background: #000;
}

#pagetop a {
    text-decoration: none;
    text-align: center;
    display: block;
    width: 60px;
    line-height: 60px;
    color: #fff;
    background: #333;
    border-radius: 100%;
    position: fixed;
    transition: 0.2s;
}

#pagetop a:hover {
    opacity: 0.75;
    box-shadow: 0px 0px 12px 4px #fff;
}

#footer #f_PC,
footer #f_SP {
    margin: 0 auto !important;
}

#sns_button {
    padding-bottom: min(8vw, 60px);
    text-align: center;
}

#page_all header#header.fixed {
    position: absolute;
}

/* PC */

main {
    text-align: left;
}

.page_nav {
    position: sticky;
    z-index: 9799;
    top: 0;
    background: url(../images/bg_nav.webp);
    background-size: cover;
    background-position: center;
    transition: 0.2s;
    margin-bottom: min(16vw, 100px);
}

.page_nav ul {
    display: flex;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 10px 0;
}

.page_nav ul li {
    width: 20%;
    box-sizing: border-box;
    border-left: 2px solid;
    border-image: linear-gradient(to bottom, #980403, #ff780b, #980403);
    border-image-slice: 1;
    background: #fff;
}

.page_nav ul li:last-of-type {
    border-right: 2px solid;
}

.page_nav li span,
.page_nav li small {
    display: block;
}

.page_nav a {
    text-decoration: none;
    display: block;
    color: #fff;
    padding: 8px 0;
    background: url(../images/bg_nav.webp);
    background-size: auto;
    background-position: center;
    transition: 0.2s;
}

.page_nav a:hover {
    opacity: 0.75;
}

.page_nav span {
    font-weight: 900;
    font-size: min(4vw, 20px);
}

.page_nav small {
    font-weight: 800;
    font-size: min(3vw, 14px);
    background: linear-gradient(to right, #c29850, #ffeed3, #c29850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

/*
.wrap {
    background: url(../images/bg_mx.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}
*/

.wrap::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(../images/bg_mx.webp);
    background-size: cover;
}

.top_main {
    padding: min(6vw, 60px);
}

.top_main img {
    display: block;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.oatime {
    background: #b60000;
    color: #fff;
    padding: 0 0 1.5em;
}

.oatime p {
    font-size: min(3.2vw, 32px);
    font-weight: 900;
    line-height: 1;
}

.oatime #countdown {
    font-size: min(3.2vw, 32px);
    font-weight: 900;
    margin-bottom: 0.8em;
    background: #fff;
    color: #b60000;
    padding: 0.2em 0 0.4em;
    font-family: "Zen Old Mincho", serif;
    font-weight: 900;
}

.oatime p .big {
    font-size: min(4.5vw, 44px);
}

.oatime #countdown .big {
    font-size: min(4.5vw, 44px);
}

.oatime ul {
    display: flex;
    justify-content: center;
    width: min(90%, 1200px);
    margin: 0 auto;
    flex-wrap: wrap;
}

.oatime ul li a {
    transition: 0.2s;
}

.oatime ul li a:hover {
    opacity: 0.75;
}

.oatime ul li:nth-of-type(3) {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 1em;
}

.oatime ul li div {
    width: 10%;
    margin-right: 10px;
}

.oatime ul li div:last-of-type {
    margin-right: 0;
}

.oatime ul li div a {
    display: block;
    width: 100%;
}

.oatime ul li div img {
    width: 100%;
    border-radius: 10px;
}

.oatime ul li {
    display: block;
    width: calc(40% - 20px);
    margin-right: 20px;
}

.oatime ul li:last-of-type {
    margin-right: 0;
}

.oatime ul li a img {
    width: 100%;
}

main section {
    width: min(90%, 1200px);
    margin: 0 auto min(16vw, 120px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #b60000;
    padding: min(4vw, 120px) min(6vw, 80px) min(6vw, 160px);
    box-sizing: border-box;
}

main section:last-of-type {
    margin: 0 auto min(8vw, 60px);
}

main section h2 {
    font-size: min(5vw, 40px);
    font-weight: 900;
    padding: 0.5em 2em;
    background: url(../images/noise.webp);
    background-size: cover;
    text-align: center;
    display: inline-block;
    margin: -100px 0 40px -100px;
    transform: rotate(-10deg);
}

main section h2 span,
main section h2 small {
    display: block;
    color: #fff;
}

main section h2 small {
    /*
    text-shadow: -1px -1px 0 #ffe0c7,
        0px -1px 0 #ffe0c7,
        1px -1px 0 #ffe0c7,
        1px 0px 0 #ffe0c7,
        1px 1px 0 #ffe0c7,
        0px 1px 0 #ffe0c7,
        -1px 1px 0 #ffe0c7,
        -1px 0px 0 #ffe0c7;
*/
    color: #fff;
    font-weight: 800;
    font-size: min(4vw, 20px);
    background: linear-gradient(to right, #c29850, #ffeed3, #c29850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section.news dl {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}

section.news dt {
    width: 10em;
    border-bottom: 1px solid #b60000;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

section.news dd {
    width: calc(100% - 10em);
    border-bottom: 1px solid #b60000;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

section.news a {
    text-decoration: none;
    color: #000;
}

section.intro .intro_text {
    text-align: center;
    line-height: 2;
    font-weight: 500;
}

.green,
.blue,
.red,
.pur,
.pink {
    color: #fff;
    font-weight: bold;
    padding: 0.1em 0.5em 0.2em;
    ;
    margin: 0 0.5em;
    background: #eee;
}

.blue {
    background: #000088;
}

.red {
    background: #880000;
}

.pur {
    background: #460088;
}

.pink {
    background: #f35e9a;
}

.green {
    background: #00880d;
}

section.intro h3 {
    font-size: min(4vw, 32px);
    font-family: serif;
    font-weight: 900;
    color: #b60000;
    margin-bottom: 1em;
}

section.story a {
    display: block;
    width: min(100%, 800px);
    margin: 0 auto;
}

section.story .story_text {
    text-align: center;
    margin-bottom: 2em;
    line-height: 2;
}

section.story a img {
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

section.cast dl {
    width: 100%;
}

section.cast dl .cast_card {
    display: flex;
    justify-content: space-between;
    padding: min(6vw, 40px);
    background: #fff;
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 20px;
    margin-bottom: min(4vw, 40px);
}

section.cast dt {
    width: 25%;
}

section.cast dt img {
    width: min(100%, 360px);
    display: block;
    margin: 0 auto;
}

section.cast dd {
    width: calc(75% - 40px);
}

section.cast dd h3 {
    font-size: min(4.25vw, 28px);
    font-weight: bold;
    margin-bottom: 0.6em;
    display: inline-block;
    background: linear-gradient(to bottom, transparent 80%, #ffbebe 80%, #ffbebe 100%);
}

section.cast dd strong {
    display: block;
    font-weight: bold;
    margin-bottom: 0.6em;
}

section.cast dd p {
    font-size: min(3.5vw, 16px);
}

.staff_area dl {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 24em;
    line-height: 2;
    margin-bottom: min(6vw, 60px);
}

.staff_area dt {
    width: 12em;
}

.staff_area dd {
    width: 12em;
}

section.staff h3 {
    font-size: min(4.5vw, 28px);
    font-weight: bold;
    margin-bottom: 0.6em;
    width: 4.5em;
    display: block;
    background: linear-gradient(to bottom, transparent 70%, #ffbebe 70%, #ffbebe 100%);
    text-align: center;
    margin: 0 auto 1em;
    line-height: 1;
}

.music_area {
    text-align: center;
}

.music_area dl {
    display: flex;
    margin: 1em 0;
}

.music_area dl dt {
    width: 60%;
}

.music_area dl dt img {
    width: 100%;
}

.music_area dl dd {
    width: 40%;
    background: #fff;
    position: relative;
}

.music_area dl dd p {
    position: absolute;
    width: 15em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.music_area dl dd span {
    font-weight: bold;
    font-size: min(4.5vw, 24px);
    display: block;
    margin-bottom: 0.5em;
}

.music_area .music_comment strong {
    font-weight: bold;
    margin-bottom: 0.6em;
}

.videobox {
    width: min(90%, 1200px);
    margin: 0 auto min(16vw, 120px);
}

.videobox iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
}

.kantoku {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: min(6vw, 40px);
    background: #fff;
    box-shadow: 0px 0px 4px #ccc;
    border-radius: 20px;
    margin-bottom: min(8vw, 80px);
}

.kantoku img {
    width: 30%;
}

.kantoku div {
    width: 65%;
    font-size: min(3.5vw, 16px);
}

.kantoku div strong {
    display: block;
    font-weight: bold;
    margin-bottom: 0.6em;
    font-size: min(3.5vw, 18px);
}

/*
.time_cover {
    width: 20em;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: min(3.5vw, 44px);
    font-weight: 900;
    margin: -0.5em auto 0;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    padding: 0.5em 0 0.7em;
    box-sizing: border-box;
    text-shadow: -1px -1px 0 #000,
        0px -1px 0 #000,
        1px -1px 0 #000,
        1px 0px 0 #000,
        1px 1px 0 #000,
        0px 1px 0 #000,
        -1px 1px 0 #000,
        -1px 0px 0 #000;
}
*/

.time_cover {
    background-image: linear-gradient(transparent 50%, transparent 50%, #e63d79 50%);
    width: 24em;
    color: #fff;
    font-size: min(3.5vw, 44px);
    font-weight: 900;
    margin: 0.5em auto 1em;
    padding: 0.1em 0;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    box-sizing: border-box;
    text-shadow: -2px -2px 0 #000,
        0px -2px 0 #000,
        2px -2px 0 #000,
        2px 0px 0 #000,
        2px 2px 0 #000,
        0px 2px 0 #000,
        -2px 2px 0 #000,
        -2px 0px 0 #000;
}

.time_cover .big {
    font-size: min(6vw, 66px);
}

.time_cover .big:last-of-type {
    color: #e63d79;
    text-shadow:
        #fff 1px 1px 6px,
        #fff -1px 1px 6px,
        #fff 1px -1px 6px,
        #fff -1px -1px 6px,
        #fff 1px 1px 3px,
        #fff -1px 1px 3px,
        #fff 1px -1px 3px,
        #fff -1px -1px 3px;
    margin-right: 0.05em;
}

.andmore {
    width: 10em;
    padding: 0.8em;
    text-align: center;
    font-weight: 800;
    border-radius: 12px;
    background: #e63d79;
    color: #fff;
    margin: 0 auto;
    text-shadow: -2px -2px 0 #e63d79,
        0px -2px 0 #e63d79,
        2px -2px 0 #e63d79,
        2px 0px 0 #e63d79,
        2px 2px 0 #e63d79,
        0px 2px 0 #e63d79,
        -2px 2px 0 #e63d79,
        -2px 0px 0 #e63d79;
    box-shadow: 0 0 0 2px #e63d79;
    border: 2px solid #fff;
    pointer-events: none;
}

.coming_chart {
    background: linear-gradient(to bottom, transparent 70%, #ffbebe 70%, #ffbebe 100%);
    font-weight: bold;
    font-size: min(5vw, 40px);
    text-align: center;
    width: 4.5em;
    margin: 0 auto;
    position: relative;
}

.coming_chart::after {
    content: "";
    display: block;
    width: 4em;
    height: 1em;
    background: url(../images/coming2.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 0.8em;
    transform: rotate(-10deg);
    margin: 0 auto;
}

.page_nav li:nth-of-type(3) {
    position: relative;
}

.page_nav li:nth-of-type(3)::after {
    content: "";
    display: block;
    width: 4em;
    height: 1em;
    background: url(../images/coming2.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 2em;
    top: 1em;
    transform: rotate(-10deg);
    margin: 0 auto;
}

#story h2 {
    position: relative;
}

#story h2::after {
    content: "";
    display: block;
    width: 3em;
    height: 1em;
    background: url(../images/coming2.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 2em;
    top: 1.1em;
    transform: rotate(-10deg);
    margin: 0 auto;
}

/*SP*/

@media screen and (max-width:1000px) {
    .nav_btn {
        display: block;
        width: 72px;
        background: #fb65a1;
        position: fixed;
        right: 0;
        top: -80px;
        box-sizing: border-box;
        padding: 20px 0;
        transition: 0.4s;
        z-index: 9800;
        box-shadow: 0px 0px 4px #ccc;
    }

    .nav_btn.active {
        top: 0;
    }

    .nav_btn span {
        display: block;
        height: 4px;
        width: 44px;
        background: #fff;
        margin: 0 auto 8px;
        transition: 0.2s;
    }

    .nav_btn span:last-of-type {
        margin: 0 auto 0;
    }

    .nav_btn span.active:nth-of-type(1) {
        opacity: 0;
    }

    .nav_btn span.active:nth-of-type(2) {
        opacity: 1;
    }

    .nav_btn span.active:nth-of-type(3) {
        opacity: 0;
    }

    .page_nav {
        position: fixed;
        right: -15em;
        top: 50%;
        transform: translateY(-50%);
    }

    .page_nav.active {
        display: block;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.2s;
        box-shadow: 0 0 4px #ccc;
    }

    .page_nav ul {
        flex-direction: column;
    }

    .page_nav ul li {
        width: 15em;
        border-left: 0;
        border-top: 1px solid;
        border-image: linear-gradient(to right, #980403, #ff780b, #980403);
        border-image-slice: 1;
    }

    .page_nav ul li:last-of-type {
        border-right: 0;
        border-bottom: 1px solid;
        border-image: linear-gradient(to right, #980403, #ff780b, #980403);
        border-image-slice: 1;
    }

    .page_nav a {
        padding: 12px 0;
    }

    #header {
        min-height: auto;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    .oatime {
        padding: 0 0 1em;
        margin-bottom: min(16vw, 120px);
    }

    .oatime ul li {
        width: calc(50% - 10px);
    }

    .oatime ul li:nth-of-type(2) {
        margin-right: 0;
    }

    .oatime ul li div {
        width: 18%;
    }

    main section h2 {
        margin: -10vw 0 6vw -8vw;
    }

    section.news dl {
        width: 100%;
    }

    section.news dt {
        width: 7em;
    }

    section.news dd {
        width: calc(100% - 7em);
    }

    section.intro .intro_text p {
        text-align: left;
        font-size: min(3.1vw, 18px);
    }

    section.story .story_text {
        text-align: left;
    }

    section.cast dl .cast_card {
        flex-direction: column;
    }

    section.cast dl .cast_card dt {
        width: 100%;
        margin-bottom: 0.5em;
    }

    section.cast dl .cast_card dd {
        width: 100%;
    }

    section.cast dl .cast_card dd h3 {
        margin-bottom: 1em;
        text-align: center;
        display: block;
    }

    .staff_area dl {
        font-size: min(3.2vw, 14px);
    }

    .music_area dl {
        flex-direction: column;
    }

    .music_area dl dt {
        width: 100%;
    }

    .music_area dl dt img {
        width: 100%;
    }

    .music_area dl dd {
        width: 100%;
        padding: 2em 0;
    }

    .music_area dl dd p {
        position: static;
        transform: none;
        text-align: center;
        margin: 0 auto;
    }

    .kantoku {
        display: block;
    }

    .kantoku img {
        display: block;
        width: min(100%, 360px);
        margin: 0 auto 1em;
    }

    .kantoku div {
        width: 100%;
    }

    .kantoku div strong {
        text-align: center;
    }
    
    .time_cover{
        text-shadow: -1px -1px 0 #000,
        0px -1px 0 #000,
        1px -1px 0 #000,
        1px 0px 0 #000,
        1px 1px 0 #000,
        0px 1px 0 #000,
        -1px 1px 0 #000,
        -1px 0px 0 #000;
    }
}
