html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

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

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

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

li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

@media only screen and (min-width: 751px) {
    .sp {
        display: none;
    }
}

@media only screen and (max-width: 750px) {
    .pc {
        display: none;
    }
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-family: 'Noto Serif JP', serif;
}


h1,
h2,
h3,
h4,
h5 {
    color: #333;
}

p {
    color: #000;
}

.section_con {
    padding: 10% 0;
}

/*nav --------------------------------------------------------*/
.pb-3,
.py-3 {
    padding-bottom: 0.5rem !important;
    padding-top: 0.5rem !important;
}

.navbar {
    transition: all 0.4s;
}

.navbar .nav-link {
    color: #fff;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
    text-decoration: none;
}

.navbar .navbar-brand {
    color: #fff;
}


/* Change navbar styling on scroll */
.navbar.active {
    background: #696969;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.active .nav-link {
    color: #fff;
}

.navbar.active .nav-link:hover,
.navbar.active .nav-link:focus {
    color: #555;
    text-decoration: none;
}

.navbar.active .navbar-brand {
    color: #555;
}


/* Change navbar styling on small viewports */
@media (max-width: 750px) {

    .navbar .navbar-brand,
    .navbar .nav-link {
        color: #555;
    }

}

@media (max-width: 991px) {

    li {
        padding: 1.2em 0;
    }
}

/*========= 画面遷移のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #696969;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}


@media only screen and (min-width: 751px) {
    #splash-logo {
        position: relative;
        width: 2%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 750px) {
    #splash-logo {
        position: relative;
        width: 6%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #B60005;
    /*伸びる背景色の設定*/
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;

}

.svg {
    height: 0px;
}

@keyframes PageAnime {
    0% {
        transform-origin: right;
        transform: scaleX(0);
    }

    50% {
        transform-origin: right;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: left;
    }

    100% {
        transform-origin: left;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/

#container {
    opacity: 0;
    /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*共通 --------------------------------------------------------*/

.con_con {
    margin: 0 auto;
}

.sub_title {
    text-align: center;
    font-weight: bold;
}



/*main --------------------------------------------------------*/
body {
    width: 100%;
}

#main {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

@media only screen and (min-width: 751px) {
    .flex {
        display: flex;
        align-items: end;

    }

    #main .main {
        display: flex;
        justify-content: center;
    }

    #main img {
        max-width: 150%;
    }

    #main .main1 {
        width: 50%;

    }

    #main .main .space {
        height: 25vh;
    }

    #main .main2 {
        width: 50%;
        align-self: center;
    }

    #main .rbb {
        padding: 10% 5% 10% 10%;
        animation-name: title;
        animation-duration: 5s;
        animation-fill-mode: forwards;
        animation-timing-function: ease;
        animation-delay: 3s;
        opacity: 0;

    }
}

@media only screen and (max-width: 750px) {
    .con_con {
        width: 90%;
    }

    .main1 {
        padding: 15% 5% 10%;
    }

    #main img {
        max-width: 150%;
    }

    #main .rbb {
        animation-name: title;
        animation-duration: 5s;
        animation-fill-mode: forwards;
        animation-delay: 3s;
        opacity: 0;

    }
}

.rbb1,
.rbb2 {
    padding: 5%;
    animation-name: title;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
    width: 105%;
    opacity: 0;
}

.rbb2 {
    animation-delay: 4s;
}

.rbb1 {
    animation-delay: 6s;

}


@keyframes title {
    0% {
        opacity: 0;
        width: 105%;
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        width: 100%;
        filter: blur(0);
    }
}

.bansen1 {
    animation-name: bansen;
    animation-delay: 8s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes bansen {
    0% {
        opacity: 0%;

    }

    100% {
        opacity: 100%;

    }
}

@media only screen and (min-width: 751px) {


    #main .bansen1 {
        width: 85%;
        right: 1%;
        position: absolute;
        bottom: 5%;
        filter: drop-shadow(1px 1px 2px rgb(255 255 255));
    }
}

@media only screen and (max-width: 750px) {
    #main .logo img {
        width: 95%;
    }

    #main .shadow_logo {
        filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.6));
    }

    #main .bansen1 {
        width: 80%;
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);

    }
}



/*intro --------------------------------------------------------*/
#intro {
    width: 100%;
}

.intro_con {
    width: 100%;
}

@media only screen and (min-width: 751px) {
    .con_img {
        width: 60%;
        margin: 0;
    }

    .con_p {
        width: 40%;
        margin: 0 5%;
        margin-bottom: 70px;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 1.75;
    }
}

@media only screen and (max-width: 750px) {
    .con_img {
        width: 100%;
        margin: 0 0 10%;
    }

    .con_p {
        width: 100%;
        margin-bottom: 70px;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1.75;
    }

    .navbar .container {
        justify-content: end;
    }
}



/*story --------------------------------------------------------*/

#story {
    overflow: hidden;
}

#story .anime {
    height: 20vh;
    width: 1500%;
    margin: 10em 0;
    background: url(../img/beginning/anime_01.jpg);
    background-size: auto 20vh;
    background-repeat: repeat-y no-repeat;
    animation: anime_slide 500s infinite linear 1s both;
}

@keyframes anime_slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media only screen and (max-width: 750px) {
    #story .anime {
        height: 15vh;
        width: 5000%;
        margin: 10em 0;
        background: url(../img/beginning/anime_01.jpg);
        background-size: auto 15vh;
        background-repeat: repeat-y no-repeat;
        animation: anime_slide 500s infinite linear 1s both;
    }
}

/*cast --------------------------------------------------------*/
#cast {
    background-color: #333;
    background-image: url(../img/beginning/pngegg1.png);
    background-position: bottom;
    background-repeat-y: no-repeat;
    background-size: 25%;
    padding-bottom: 30%;
}

.f_cast_con {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 5%;
}

#cast .cast_con .cast_grid {
    text-align: center;
}


#cast .cast_con .cast_grid img {
    width: 100%;
}



.f_cast_con h2 {
    text-shadow: 2px 2px 3px black;
    color: #fff;
}

.f_cast_con p {
    text-shadow: 1px 1px 2px black;
    color: #fff;

}

#cast .yaku {
    margin: 0;
    font-family: monospace;
}

@media only screen and (min-width: 751px) {
    #cast {
        margin: 0 auto;
    }

    #cast .cast_con {
        padding: 0 10px;
        max-width: 1400px;
        margin: 0 auto;
    }

    #cast .cast_con .cast_grid {
        width: 20%;
        padding: 20px 30px;
    }

    #cast .cast_con .main_cas {
        width: 20%;
    }

    .cast_team_name {
        width: 38%;
        margin-top: -100px;
        z-index: -1;
        fill: darkgrey;
    }

    .cast_grid h2 {
        font-size: 1.8em;
    }

    .cast_grid p {
        font-size: 1.2em;
        margin-top: -0.5em;
    }

    .sub_title {
        font-size: 3em;
        padding: 15% 0;
        color: grey;
        text-shadow:
            0 0 0.1em rgba(255, 255, 255, 0.05),
            0.01em 0.04em 0.03em rgba(255, 255, 255, 0.4);
        -webkit-background-clip: text;
        font-weight: 800;
    }

    .cast_team {
        margin-top: 30px;
    }

    .cast_2 {
        text-align: right;
    }

    .cast_hosoku {
        padding: 10% 5% 0;
    }

    .cast_hosoku p {
        padding: 5px 0;
    }
}

@media only screen and (max-width: 750px) {

    .sub_title {
        font-size: 2em;
        padding: 15% 0;
        color: grey;
        text-shadow:
            0 0 0.1em rgba(255, 255, 255, 0.05),
            0.01em 0.04em 0.03em rgba(255, 255, 255, 0.4);
        -webkit-background-clip: text;
        font-weight: 800;
    }

    .team_a {
        padding: 0 10px;
    }

    .team_b {
        padding: 0 10px;
    }

    .cast_con h3 {
        font-size: 2em;
    }

    .f_cast_con {
        margin-top: -20px;
    }

    #cast .cast_con .cast_grid {
        width: 40%;
        margin: 20px 10px;
    }

    #cast .cast_con .main_cas {
        width: 50%;
    }

    .cast_grid h2 {
        font-size: 1.4em;
    }

    .cast_grid p {
        font-size: 1em;
        /* margin-top: -0.3em; */
        line-height: 1em;
    }

    .cast_team {
        margin-top: 30px;
        margin-bottom: -80px;
    }

    .f-item01 {
        order: 1;
    }

    .f-item02 {
        order: 2;
    }

    .f-item03 {
        order: 3;
    }

    .f-item04 {
        order: 4;
    }

    .f-item05 {
        order: 5;
    }

    .f-item06 {
        order: 6;
    }

    .f-item07 {
        order: 7;
    }

    .f-item08 {
        order: 8;
    }

    .f-item09 {
        order: 9;
    }

    .cast_team_name {
        width: 100%;
        margin: -100px 0 -80px 0;
    }

    .cast_2 {
        font-size: 12px;
        padding: 0 2em 1em;
    }

    .cast_hosoku {
        padding: 1em 2em 1em;
    }

    .cast_hosoku p {
        font-size: 12px;
        padding: 5px 0;
    }
}




/*staff --------------------------------------------------------*/

.staff_con .waku1 {
    text-align: left;
}

.staff_con .waku2 {
    text-align: right;
}

.kantoku {
    width: 40%;
    height: 30vh;
    background-image: url(../img/beginning/name_back.svg);
    background-position: center;
    background-size: cover;
    margin: 2em auto;
    padding: 3em;
    text-align: center;
    display: inline-block;
}

.kantoku h3 {
    font-size: x-large;
}

.kantoku h2 {
    font-size: xx-large;
    font-weight: bold;
}

.staff_con {
    padding: 5em 0;
}



/*yokoku --------------------------------------------------------*/

#yokoku {
    width: 100%;
    z-index: 10;
    text-align: center;
    padding: 0 0 10em;
}

@media only screen and (min-width: 751px) {

    .yokoku_bg iframe {
        width: 40%;
    }


}

@media only screen and (max-width: 750px) {

    .yokoku_bg iframe {
        width: 90%;
    }

    .yokoku_con {
        padding-top: 5em;
    }
}

iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%
}

/*footer --------------------------------------------------------*/
#footer {
    margin: 0 auto;
    width: 100%;
    padding: 15% 0 5%;
    background-color: #696969;
}

#footer p {
    color: whitesmoke;
    text-align: center;
}

.footer p {
    color: #555;
    text-align: center;

}

.foot2 span {
    display: inline-block;
}

.last {
    padding: 3em 0 1em;
}

.foot2 {
    padding-bottom: 10%;
    font-weight: 800;
}

@media only screen and (min-width: 751px) {
    .foot2 .ff1 {
        font-size: 2.5em;
    }

    .foot2 .ff1 span {
        margin: 0 0.5em;
    }

    .foot2 .ff2 {
        font-size: 2em;
        margin-top: 1%;
    }

    .foot2 .ff2 span {
        margin: 0 0.4em;
    }

    .foot2 .ff3 {
        font-size: 1.6em;
        margin-top: 2%;
    }

    .foot2 .ff3 span {
        margin: 0 0.4em;
    }

    .foot2 .ff4 {
        font-size: 1.4em;
        margin-top: 1%;
    }

    .foot2 .ff4 span {
        margin: 0 0.4em;
    }

}

@media only screen and (max-width: 750px) {
    .foot2 .ff1 {
        font-size: 1.8em;
    }

    .foot2 .ff1 span {
        margin: 0 0.5em;
    }

    .foot2 .ff2 {
        font-size: 1.4em;
        margin-top: 2%;
    }

    .foot2 .ff2 span {
        margin: 0 0.4em;
    }

    .foot2 .ff3 {
        font-size: 1.2em;
        margin-top: 5%;
    }

    .foot2 .ff3 span {
        margin: 0 0.4em;
    }

    .foot2 .ff4 {
        font-size: 1em;
        margin-top: 1%;
    }

    .foot2 .ff4 span {
        margin: 0 0.4em;
    }
}




/*other --------------------------------------------------------*/
#space_b1 {
    height: 80vh;
    background-image: url(../img/beginning/999.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}