.onlySp {
    display: none;
}

body {
    font-size: min(2vw, 18px);
    font-family: "M PLUS 1", sans-serif;
    font-weight: 800;
    color: var(--gray);
    background: #fff;
    line-height: 1.5;
}

.panlist a,
.panlist strong {
    color: #000 !important;
    padding: 0 1em;
}

img {
    vertical-align: bottom;
}

.panlist {
    text-align: left;
    font-size: 12px;
    padding-left: 1em;
    color: var(--gray);
    background: var(--yellow1);
}

#pagetop a {
    text-decoration: none;
    text-align: center;
    display: block;
    width: 60px;
    line-height: 60px;
    color: #fff;
    background: var(--gray);
    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-top: 80px;
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--gray);
}

/* PC */

#top_hamb {
    position: fixed;
    top: 35px;
    right: 35px;
    width: 110px;
    height: 110px;
    border-radius: 110px;
    box-shadow: 0px 0px 4px #fe56b6;
    background: #fff;
    opacity: 0;
    transition: 0.2s;
    z-index: 999;
}

#top_hamb.on {
    animation: tophamb-on 0.4s forwards;
}

@keyframes tophamb-on {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#top_hamb.off {
    animation: tophamb-off 0.4s forwards;
}

@keyframes tophamb-off {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.top_hamb_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 100px;
    background: #fe56b6;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.top_hamb_wrap span {
    display: block;
    padding: 14px 0 4px;
    transition: 0.2s;
    font-size: 16px;
}

.top_hamb_wrap p {
    width: 52px;
    height: 4px;
    background: #fff;
    margin: 0 auto 6px;
    transition: 0.2s;
}

#top_hamb span.is-active {
    opacity: 0;
}

#top_hamb p:nth-last-of-type(1).is-active {
    transform: rotate(45deg) translateY(-11px) translateX(-11px);
}

#top_hamb p:nth-last-of-type(2).is-active {
    opacity: 0;
}

#top_hamb p:nth-last-of-type(3).is-active {
    transform: rotate(-45deg) translateY(3px) translateX(-3px);
    ;
}

#sub_header {
    height: 80px;
    width: 100%;
    background: #ccc;
}

#subpage_hamb {
    position: sticky;
    top: 35px;
    right: 35px;
    width: 110px;
    height: 110px;
    border-radius: 110px;
    box-shadow: 0px 0px 4px #fe56b6;
    background: #fff;
    z-index: 999;
}


.top_main {
    display: flex;
    width: 100%;
    max-width: 1920px;
}

.top_main .left_side {
    width: 38.2%;
    position: relative;
}

.left_side h1 {
    width: 85%;
    padding: min(5vw, 60px) 0;
    margin: 0 auto;
}

.left_side h1 img {
    width: 100%;
}

.left_side h2 {
    font-size: min(2vw, 28px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: min(5vw, 60px);
}

.left_side h2 span {
    font-size: 1.2em;
    color: #fe56b6;
    vertical-align: baseline;
}

.top_nav {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.top_nav li {
    width: 49%;
    margin-bottom: 1em;
}

.top_nav a {
    width: 100%;
    color: var(--gray);
    text-decoration: none;
    display: block;
    text-align: left;
    padding: 0.35em 0 0.35em 0.6em;
    border-left: 4px solid var(--cyan);
    box-sizing: border-box;
    font-size: min(1.76vw, 24px);
    line-height: 1;
}

.top_nav li:first-of-type a {
    color: #fe56b6;
    border-left: 4px solid #fe56b6;
}

.top_nav a:hover {
    opacity: 0.75;
    transition: 0.2s;
}

.top_nav a small {
    display: block;
    font-size: 0.5em;
    font-weight: 500;
    padding-top: 0.35em;
}

.top_main .kv {
    width: 61.8%;
    background: #fff;
}

.kv img {
    width: 100%;
    display: none;
}

.visual_change {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.visual_change p {
    font-size: 12px;
    width: 100%;
    text-align: right;
    color: #fe56b6;
}

.visual_change li {
    width: 50%;
    height: min(8vw, 80px);
    filter: grayscale(1);
    cursor: pointer;
}

.visual01 {
    background: url(../img/kv0611.jpg);
}

.visual02 {
    background: url(../img/kv0612.jpg);
}

.visual {
    background-position: center center;
    background-size: cover;
}

.visual.active {
    border: 2px solid #fe56b6;
    box-sizing: border-box;
    filter: none;
}

.kv img.active {
    display: block;
    animation: kvfade 0.6s forwards;
}

@keyframes kvfade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.wrapper {
    background: url(../img/bg_roop.jpg);
    background-size: 200px;
    animation: bgloop 5s infinite linear;
}

@keyframes bgloop {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 200px -200px;
    }
}

.wrap {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

main article section h1 {
    text-align: center;
    padding-top: min(12vw, 100px);
    margin-bottom: min(6vw, 60px);
}

main article section {
    opacity: 0;
    transform: translateY(40px);
}

main article section.fadein {
    animation: fadein 0.75s forwards;
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
        filter: blur(0);
    }
}

main article section h1 img {
    width: 90%;
    max-width: 720px;
    filter: drop-shadow(0 0 4px #fff);
}

section.news .newsbox ul {
    margin-bottom: min(4vw, 60px);
}

section .newsbox li {
    margin-bottom: 1em;
}

section.news .newsbox li a {
    display: flex;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(45deg, #fff1f9, #fff);
    padding: min(3vw, 40px) 2em;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    outline: 1px solid #ffbce2;
    outline-offset: -8px;
}

section.news .newsleft {
    width: 95%;
}

section.news .newsright {
    width: 5%;
    display: flex;
    align-items: center;
}

section.news .news_date {
    font-size: min(3vw, 16px);
    margin-right: 2em;
    color: #fe56b6;
}

section.news .news_ttl {
    font-size: min(3.5vw, 20px);
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
}

section.news .newsright p {
    font-size: 24px;
    transition: 0.2s;
    color: #fe56b6;
}

section.news .newsright p::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../img/arrow.png);
    background-size: cover;
    background-position: center center;
}

section.news .newsbox li a:hover .newsright p {
    margin-left: 1em;
}

section.news .more {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 500px;
    border: 1px solid #fe56b6;
    color: #fe56b6;
    background: #fff;
    font-size: min(3vw, 16px);
}

section.movie {
    margin-bottom: min(8vw, 100px);
}

section.movie .videobox {
    width: 100%;
    padding: min(4vw, 40px) min(4.5vw, 50px);
    background: repeating-linear-gradient(135deg, #fff1f9, #fff1f9 40px, #fff 40px, #fff 80px);
    box-sizing: border-box;
    border-radius: 20px;
    margin-bottom: min(4vw, 60px);
}

section.movie iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

section.movie .more {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 500px;
    border: 1px solid #fe56b6;
    color: #fe56b6;
    background: #fff;
    font-size: min(3vw, 16px);
}

section.intro {
    position: relative;
    background: #eee;
    padding-bottom: min(8vw, 100px);
    overflow: hidden;
}

section.intro h1 {
    position: relative;
    z-index: 3;
}

section.intro iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 300%;
    aspect-ratio: 16/9;
    /*    filter: grayscale(1);*/
    opacity: 0.2;
}

section.intro .dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: radial-gradient(#fff 40%, transparent 40%);
    background-size: 4px 4px;
    width: 100%;
    height: 200vw;
}

section.intro .content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    background:
        url(../img/deco_donuts.png) no-repeat 5% 5% / 20% auto,
        url(../img/deco_candy.png) no-repeat 95% 95% / 20% auto,
        url(../img/bg02.jpg) no-repeat center center / cover;
    border-radius: 20px;
    margin: 0 auto;
    padding: min(20vw, 160px) 0;
    box-sizing: border-box;
    line-height: 2;
    z-index: 3;
    font-size: min(3.5vw, 24px);
}

section.intro .large {
    font-size: min(4vw, 32px);
    color: #fe56b6;
    font-weight: 900;
    margin: 0 0.1em 0;
}

section.intro .large:nth-of-type(2) {
    color: #fff;
    background: #777;
    padding: 0 0.2em 0.2em;
}

section.intro .large:nth-of-type(5) {
    color: #fe5656;
}

section.intro .large:nth-of-type(6) {
    color: #56c1fe;
}

section.intro .large:nth-of-type(7) {
    color: #fea556;
}

section.intro .large:nth-of-type(8) {
    color: #777;
}

section.intro .large:nth-of-type(9) {
    color: #fff;
    background: #fe56b6;
    padding: 0.2em 0.4em 0.4em;
}

section.chara .chara_box {
    background:
        url(../img/paper1.png) no-repeat 0% 100% / 20% auto,
        url(../img/paper2.png) no-repeat 100% 0% / 20% auto,
        #ff97d2;
    border-radius: 20px;
    padding-bottom: min(3vw, 40px);
    position: relative;
}

.chara_box .arrow_right,
.chara_box .arrow_left {
    position: absolute;
    width: min(10vw, 60px);
    top: calc(50% - 80px);
    z-index: 998;
    cursor: pointer;
}

.chara_box .arrow_right img,
.chara_box .arrow_left img {
    width: 100%;
}

.chara_box .arrow_right {
    right: 8px;
}

.chara_box .arrow_left {
    left: 8px;
}

.chara_box ul {
    display: flex;
    padding: min(3vw, 40px);
    width: 90%;
    margin: 0 auto;
}

.chara_box ul li {
    margin-right: 10px;
    cursor: pointer;
    width: 100px;
    border-radius: 50%;
}

.chara_box ul li:hover {
}

.chara_box ul li img {
    width: 100px;
    border-radius: 50px;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.chara_box ul li.active {
}

.chara_box ul li.active img {
    border: 2px solid #fe56b6;
}

section.chara .chara_content {
    display: none;
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: min(3vw, 40px) 0;
    opacity: 0;
}

section.chara .chara_content.active {
    opacity: 1;
    display: flex;
    animation: kvfade 0.5s;
}

.chara_content .leftside {
    width: 65%;
}

.chara_content .rightside {
    width: 35%;
    position: relative;
}

.chara_content .rightside img {
    width: 80%;
}

.chara_content .namewrap {
    transform: rotate(-10deg) translateX(-7.5vw) translateY(-2vw);
}

.chara_content .leftside h2 {
    background: url(../img/ribbon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: min(5vw, 48px);
    color: #fff;
    font-weight: 800;
    padding: 8px 0 16px;
    line-height: 1;
}

.chara_content .leftside h2 small {
    display: block;
    font-size: min(2vw, 16px);
}

.chara_content .textwrap {
    text-align: left;
    padding: 2em;
    line-height: 2;
    font-size: min(3.5vw, 20px)
}

.staff_content {
    background:
        url(../img/deco_cookie.png) no-repeat 95% 95% / 15% auto,
        url(../img/bg02.jpg) no-repeat center center / cover;
    box-shadow: 0px 0px 8px #eee;
    text-align: left;
    padding: 10%;
    border-radius: 20px;
    margin-bottom: min(10vw, 100px);
}

.staff_content h2 {
    font-size: min(5vw, 32px);
    margin-bottom: min(6vw, 80px);
    font-weight: 900;
    color: var(--rosepink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.staff_content h2::after {
    content: "";
    display: block;
    width: calc(100% - 4em);
    border-bottom: 4px dotted var(--rosepink);
}

.staff_content ul {
    display: flex;
    flex-wrap: wrap;
}

.staff_content ul:nth-of-type(1) {
    margin-bottom: min(8vw, 100px);
}

.staff_content ul li {
    width: 50%;
    font-size: min(3.2vw, 28px);
    margin-bottom: min(5vw, 60px);
}

.staff_content ul li:nth-of-type(1),
.staff_content ul.cast li {
    width: 100%;
}

.staff_content ul li p {
    display: inline-block;
    width: min(3vw, 40px);
    padding-bottom: 6px;
    cursor: pointer;
}

.staff_content ul li p img {
    display: block;
    width: 100%;
}

.staff_content ul li small {
    font-size: min(2.5vw, 16px);
    display: block;
    color: var(--rosepink);
    line-height: 1;
}

.staff_content ul li span {
    display: inline-block;
    font-size: min(1.65vw, 16px);
}

.comment_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 1100px);
    margin: 0 auto;
    background: url(../img/bg02.jpg);
    background-size: cover;
    border-radius: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    opacity: 0;
    z-index: -1;
    transition: 0.2s;
    box-shadow: 0px 0px 4px #ccc;
}

.comment_popup.is-active {
    z-index: 1001;
    opacity: 1;
}

.comment_popup::-webkit-scrollbar {
    display: none;
}

.comment_bg {
    z-index: -1;
    opacity: 0;
}

.comment_bg.is-active {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(135deg, var(--pink1), var(--pink1) 6px, var(--pink2) 6px, var(--pink2) 8px);
    z-index: 1000;
    opacity: 0.25;
    transition: 0.2s;
}

.comment_popup .comment_left {
   width: 30%;
    padding: 4% 1% 2% 4%;
    box-sizing: border-box;
}

.comment_popup .comment_left img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1em;
    filter: drop-shadow(10px 10px 0px var(--pink3));
}

.comment_popup .comment_left h3 {
    text-align: center;
    line-height: 1.5;
    font-size: min(5vw, 28px);
    font-weight: 800;
}

.comment_popup .comment_left small {
    display: block;
    line-height: 1;
    font-size: min(3.5vw, 16px);
    color: var(--rosepink);
    font-size: 0.75em;
}

.comment_popup .comment_right {
    width: 70%;
    padding: 4% 3% 4% 3%;
    box-sizing: border-box;
    font-size: min(3.5vw, 20px);
    line-height: 2;
    font-weight: 600;
    text-align: left;
}

.close {
    width: 110px;
    height: 110px;
    background: var(--pink2);
    border-radius: 50%;
    position: fixed;
    top: 35px;
    right: 35px;
    display: none;
    opacity: 0;
    transition: 0.2s;
}

.close.is-active {
    display: block;
    animation: close 0.2s forwards;
    opacity: 1;
    z-index: 9999;
}

.close span {
    position: absolute;
    display: block;
    width: 52px;
    height: 4px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close span:nth-of-type(1) {
    transform: rotate(45deg) translate(-20px, 17px);
}

.close span:nth-of-type(2) {
    transform: rotate(-45deg) translate(-17px, -20px);
}

/*SP*/

@media screen and (max-width:800px) {
    .onlySp {
        display: block;
    }

    #header {
        min-height: 80px;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    #top_hamb {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .top_hamb_wrap {
        width: 72px;
        height: 72px;
    }

    .top_hamb_wrap span {
        display: block;
        padding: 8px 0 4px;
        transition: 0.2s;
        font-size: 14px;
    }

    .top_hamb_wrap p {
        width: 42px;
    }

    #top_hamb p:nth-of-type(1).is-active {
        transform: rotate(-45deg) translateY(0px) translateX(0px);
    }

    #top_hamb p:nth-of-type(3).is-active {
        transform: rotate(45deg) translateY(-14px) translateX(-14px);
    }

    .top_main {
        flex-direction: column;
    }

    .top_main .left_side,
    .top_main .kv {
        width: 100%;
    }

    .top_main .kv {
        order: 1;
    }

    .top_main .left_side {
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .top_main .top_nav {
        display: none;
    }

    .top_main .visual_change {
        position: relative;
        order: 1;
    }

    .top_main .visual_change p {
        line-height: 2;
    }

    .top_main .visual_change li {
        height: 60px;
    }

    .top_main h1.logo {
        order: 2;
    }

    .top_main h2 {
        order: 3;
    }

    .left_side h2 {
        font-size: min(4vw, 28px);
    }

    section.news .newsright p::after {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url(../img/arrow.png);
        background-size: cover;
        background-position: center center;
    }

    section.news .newsbox li a:hover .newsright p {
        margin-left: 0.5em;
    }

    section.news .newsbox li a {
        outline-offset: -4px;
        padding: min(3vw, 40px) 3em;
    }
    
    section.intro iframe{
        width:500%;
    }

    section.chara .chara_content {
        flex-direction: column;
        position: relative;
    }

    .chara_content .leftside,
    .chara_content .rightside {
        width: 100%;
    }

    .chara_content .rightside {
        order: 1;
        text-align: center;
    }

    .chara_content .leftside {
        order: 2;
    }

    .chara_content .rightside img {
        width: 60%;
        padding-top: 10em;
    }

    .chara_content .namewrap {
        transform: rotate(-10deg) translateX(-3.5vw) translateY(1vw);
        position: absolute;
        top: 0;
        width: 80%;
    }

    .chara_box ul {
        justify-content: space-between;
    }

    .chara_box ul::after {
        content: "";
        display: block;
        width: 30%;
        height: 1px;
    }

    .chara_box ul li {
        width: 30%;
    }

    .chara_box ul li img {
        width: 100%;
        border-radius: 50%;
    }

    .chara_box .arrow_right,
    .chara_box .arrow_left {
        top: 50vw;
    }

    .namewrap h3 {
        font-size: min(3.5vw, 16px);
    }

    .staff_content ul li p {
        width: min(6vw, 32px);
        padding-bottom: 4px;
    }

    .comment_popup {
        flex-direction: column;
        transform: translate(-50%, 0%);
        top: 8vh;
        height: 80vh;
        overflow-y: scroll;
    }

    .comment_popup .comment_left,
    .comment_popup .comment_right {
        width: 100%;
    }

    .comment_popup .comment_left {
        padding: 8% 4% 0 4%;
    }

    .comment_popup .comment_right {
        padding: 0 6% 6% 6%;
    }

    .comment_popup .comment_left img {
        max-height: 30vh;
        width: auto;
        filter: drop-shadow(8px 8px 0px var(--pink3));
    }

    .comment_popup .comment_left h3 {
        letter-spacing: 2px;
        padding: 4% 0;
    }

    .close {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .close span {
        width: 52px;
        height: 4px;
        background: #fff;
        transform: translate(-50%, -50%);
    }

    .close span:nth-of-type(1) {
        transform: rotate(45deg) translate(-20px, 17px);
    }

    .close span:nth-of-type(2) {
        transform: rotate(-45deg) translate(-17px, -20px);
    }
}
