html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: #333;
}

.sp-view {
    display: none;
}

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

    html {
        font-size: 57.5%;
    }
}


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

    html {
        font-size: 52.5%;
    }
}


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

    html {
        font-size: 62.5%;
    }

    .pc-view {
        display: none;
    }    

    .sp-view {
        display: block;
    }
    
}


header {
    /* height: calc(100vh + 20px); */
    height: auto;
    background-image: url(../images/mv-bg_pc.png);
    background-position: top -4vw left;
    position: relative;
    padding-bottom: calc(9vh + 20px);
}

.header-wrap {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.5vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    transition: 0.5s;
}

.header-wrap.bg-view {
    background-color: #fff;
    transition: 0.5s;
}

.header-wrap h1 {
    width: 245px;
    background-color: #fff;
    border-radius: 0 0 25px 0;
}

.header-wrap h1 a {
    display: block;
    /* padding: 20px 50px; */
    width: 100%;
    padding: 8.3% 20.4%;
}

.header-wrap h1 a img {
    /* width: 145px; */
    width: 100%;
}

.header-wrap__btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: 0.5s;
}

.header-wrap__btn.view {
    opacity: 1;
    transition: 0.5s;
}

.header-wrap__btn div {
    width: 220px;
    border-radius: 50px;
}

.header-wrap__btn div a {
    display: block;
    padding: 16px 0;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

/* ヘッダーボタン */

.btn-white {
    border: 3px solid #E6007D;
    margin-right: 20px;
}

.btn-white:hover {
    background-color: #E6007D;
    transition: 0.5s;
}

.btn-white a {
    color: #E6007D;
}

.btn-white:hover a {
    color: #fff;
    transition: 0.5s;
}

.header-wrap__btn .btn-pink {
    background-color: #E6007D;
    border: 3px solid #E6007D;
    transition: 0.5s;
}

.header-wrap__btn .btn-pink a {
    display: block;
    color: #fff;
    text-align: center;
    transition: 0.5s;
}

.main-img {
    /* position: absolute; */
    /* top: 3vh; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 67.5%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5.5vh;
    padding-top: 3vh;
}

/* .main-img.change-wd {
    width: 65%;
} */

.main-img img {
    width: 100%;
}

/* ピンクのボタン共通 */

.btn-pink:hover {
    transition: 0.5s;
    background-color: #fff;
}

.btn-pink:hover a {
    color: #E6007D;
    transition: 0.5s;
}

/* MV内ボタン */

.mv-btn {
    transform: translateX(0);
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    justify-content: center;
    width: 62.5%;
    margin-left: auto;
    margin-right: auto;
}

.mv-btn div {
    width: 40%;
    height: 6%;
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
}

.mv-btn div::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border: 5px solid #E6007D;
    position: absolute;
    top: 15px;
    right: -15px;
    z-index: -1;
    border-radius: 25px;
    background: repeating-linear-gradient(45deg, #FFA5CD, #FFA5CD 6px, #FF73B4 6px, #FF73B4 12px);
}

.mv-btn div a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7% 0;
    text-align: center;
    border-radius: 25px;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.mv-btn div a::before {
    content: "";
    width: 150%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #FFEB00;
    transform: translateX(-110%)skewX(-45deg);
    transition: 0.5s;
}

.mv-btn div a:hover::before {
    transform: translateX(-8%)skewX(-45deg);
}

.mv-btn div a img {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mv-btn div a p {
    font-size: 2.8rem;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.mv-btn .mv-btn__reg a {
    color: #E6007D;
    border: 5px solid #E6007D;
    background-color: #fff;
}

/* 未ログインボタン */

.mv-btn .before-log a {
    color: #fff;
    border: 5px solid #E6007D;
    background-color: #E6007D;
}

/* ログイン時 */

.mv-btn .now-log a {
    color: #E6007D;
    border: 5px solid #E6007D;
    background-color: #FFEB00;
    transition: 0.5s;
}

/* .mv-btn .mv-btn__log a.open {
    background-color: #FFEB00;
    color: #E6007D;
    transition: 0.5s;
} */

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

    .mv-btn {
        width: 70%;
    }
    
}

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

    .main-img {
        /* top: 6vh; */
        width: 75%;
    }

}

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

    .mv-btn {
        width: 90%;
    }

    .mv-btn div a p {
        font-size: 2.4rem;
    }

}

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

    header {
        background-image: url(../images/mv-bg_sp02.png);
        /* padding-bottom: 7vh; */
    }

    .main-img {
        /* top: 10vw; */
        /* position: absolute; */
        /* top: 8vw; */
        width: 100%;
        overflow: hidden;
        padding-top: 6vh;
        margin-bottom: 3.5vh;
    }

    .main-img img {
        display: block;
        /* width: 80%; */
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        /* width: 130%; */
        /* transform: translateX(-13%); */
    }

    .header-wrap h1 {
        box-shadow: 0 2px 10px rgba(0,0,0, 0.2);
    }

    .header-wrap__btn {
        display: none;
    }

    .mv-btn div {
        width: 48%;
    }

    .mv-btn div::after {
        top: 12px;
        right: 0;
    }

    .mv-btn div a p {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .mv-btn div a img {
        width: 20px;
        height: 40px;
        margin-right: 10px;
    }

    .mv-btn .mv-btn__reg a {
        border: 4px solid #E6007D;
    }

    .mv-btn .mv-btn__log a {
        border: 4px solid #E6007D;
    }

    .mv-btn div::after {
        border-radius: 15px;
    }

    .mv-btn div a {
        border-radius: 15px;
    }

    .mv-btn div a::before {
        transform: translateX(-120%)skewX(-45deg);
        width: 190%;
    }
}

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

    header {
        height: calc(100vh + 5vw);
    }

    .header-wrap h1 {
        width: 130px;
        border-radius: 0 0 15px 0;
    }

    .header-wrap h1 a {
        padding: 13px 20px;
    }

    .main-img {
        top: 10vw;
    }

    .main-img img {
        /* width: 126%; */
        /* transform: translateX(-11%); */
        width: 100%;
        /* width: 130%; */
        transform: translateX(0%);
        /* transform: translateX(-13%); */
    }

    .main-img img.change-bg {
        width: 85%;
        transform: translateX(0%);
    }

    .mv-btn {
        bottom: 13vh;
    }
}

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

    /* .main-img img {
        width: 105%;
        transform: translateX(-3%);
    } */

    .mv-btn {
        bottom: 6.5vh;
    }

}

/* main */

main {
    /* background: repeating-linear-gradient(135deg, #FFF56D, #FFF56D 40px, #FFEB00 40px, #FFEB00 80px); */
    position: relative;
    padding-top: 120px;
    padding-bottom: 140px;
    background-image: url(../images/main-bg_pc02.png);
    background-position-x: -21px;
}

main::before {
    content: "";
    display: block;
    width: 100%;
    height: 10vw;
    /* background: repeating-linear-gradient(135deg, #FFF56D, #FFF56D 40px, #FFEB00 40px, #FFEB00 80px); */
    background-image: url(../images/main-bg_pc02.png);
    background-repeat: no-repeat;
    position: absolute;
    top: -20px;
    left: 0;
    mask-image: url(../images/main-wave.png);
    mask-position: 0 0;
    mask-repeat: no-repeat;
    mask-size: 100%;
}

.main-wrap {
    position: relative;
    z-index: 10;
    /* width: 62.5%; */
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.main-wrap section {
    margin-bottom: 90px;
    text-align: center;
}

.main-wrap section:last-child {
    margin-bottom: 0;
}

.main-wrap section h2 {
    color: #0073BE;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 30px;
    height: 8.2vw;
    line-height: 8.2vw;
    background-repeat: no-repeat;
    background-position: left 47% center;
    background-size: contain;
}

/* main見出し */

.kokatopi h2 {
    background-image: url(../images/kokatopi-ttl_pc.png);
}

.kokatopi h2 span {
    display: inline-block;
    transform: rotateZ(15deg);
}

.premium_present h2 {
    background-image: url(../images/present-ttl_pc.png);
}
.premium_event h2 {
    background-image: url(../images/event-ttl_pc.png);
}
.comic h2 {
    background-image: url(../images/comic-ttl_pc.png);
}
.programing h2 {
    background-image: url(../images/programing-ttl_pc.png);
}
.research h2 {
    background-image: url(../images/research-ttl_pc.png);
}
.talk h2 {
    background-image: url(../images/talk-ttl_pc.png);
}
.kokashop h2 {
    background-image: url(../images/kokashop-ttl_pc.png);
}
.premium_special h2 {
    background-image: url(../images/special-ttl_pc.png);
}

/* スライド */

.main-wrap section .slides {
    /* display: flex; */
    /* justify-content: space-between; */
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 5.7%; */
    margin-bottom: 60px;
}

/* .slides * {
    min-height: 0;
    min-width: 0;
} */

.slides-cover {
    /* margin-left: -10px; */
    /* margin-right: 65px; */
    margin-left: 22px;
    margin-right: 22px;
    width: 360px;
    height: 380px;
}

.slides-inner {
    /* display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 10px; */
    position: relative;
    width: 340px;
    height: 360px;
    /* border: 5px solid #0073BE; */
    border-radius: 25px;
    background-color: #fff;
}

.slide-bg {
    /* content: ""; */
    /* display: block; */
    width: 100%;
    height: 100%;
    border: 5px solid #0073BE;
    position: absolute;
    top: 20px;
    right: -20px;
    z-index: -1;
    border-radius: 25px;
    background: repeating-linear-gradient(45deg, #BEE6F5, #BEE6F5 6px, #8CD7EB 6px, #8CD7EB 12px);
}

/* .slides-inner::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border: 5px solid #0073BE;
    position: absolute;
    top: 20px;
    right: -20px;
    z-index: -1;
    border-radius: 25px;
    background: repeating-linear-gradient(45deg, #BEE6F5, #BEE6F5 6px, #8CD7EB 6px, #8CD7EB 12px);
} */

.slides-inner a {
    display: block;
    /* background-color: #fff; */
    border: 5px solid #0073BE;
    overflow: hidden;
    border-radius: 25px 25px;
    transition: 0.5s;
    width: 100%;
    height: 100%;
}

.slides-inner a:hover p img {
    scale: 1.1;
    transition: 0.5s;
}

.slides-inner a p {
    width: 100%;
    height: 52%;
    background-color: #000;
    overflow: hidden;
}

.slides-inner a p img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
}

.slides-inner a ul {
    background-color: #fff;
    border-radius: 0 0 25px 25px;
    height: 48%;
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 9%;
    padding-right: 9%;
    text-align: left;
}

.slides-inner a ul .date {
    font-size: 1.4rem;
    font-weight: 700;
    color: #828282;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.slides-inner a ul .title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* slick調整 */

.slick-list {
    height: 380px;
    min-height: 380px;
}

/* slickボタン */

.slick-next, .slick-prev {
    width: 60px;
    height: 60px;
}

.slick-prev {
    left: -80px;
}

.slick-next {
    right: -80px;
}

.slick-next:before,
.slick-prev:before {
    /* font-size: 60px; */
    content: "";
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
}

.slick-prev:before {
    background-image: url(../images/slide-left.png);
}

.slick-next:before {
    background-image: url(../images/slide-right.png);
}


.btn-main {
    width: 220px;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #E6007D;
    transition: 0.5s;
    border: 3px solid #E6007D;
}

.btn-main a {
    display: block;
    padding: 20px;
    color: #fff;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
    transition: 0.5s;
}

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

    .main-wrap {
        width: 75%;
    }

    .main-wrap section h2 {
        height: 12vw;
        line-height: 12vw;
    }

    .slides-cover {
        margin-left: 1vw;
        margin-right: 1vw;
        height: 360px;
    }

    .slides-inner {
        width: 100%;
        height: 100%;
    }

    .slide-bg {
        top: 12px;
        right: -12px;
    }

}

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

    .main-wrap section h2 {
        height: 15vw;
        line-height: 15vw;
    }
} 

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

    .main-wrap {
        width: 100%;
    }

    .slides-cover {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    /* slickボタン */
    .slick-next, .slick-prev {
        z-index: 100;
        width: 40px;
        height: 40px;
    }

    .slick-next:before, .slick-prev:before {
        background-size: contain;
    }

    .slick-prev {
        left: 20px;
    }
    
    .slick-next {
        right: 20px;
    }

}

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

    main {
        padding-top: 60px;
        background-image: url(../images/main-bg_sp.png);
    }

    main::before {
        background-image: url(../images/main-bg_sp.png);
        mask-image: url(../images/wave-sp.png);
    }

    .main-wrap section h2 {
        height: 25vw;
        line-height: 29vw;
        font-size: 2rem;
        letter-spacing: -0.01em;
    }

    /* 見出し共通 */

    .kokatopi h2 {
        background-image: url(../images/kokatopi-ttl_sp.png);
    }

    .premium_present h2 {
        background-image: url(../images/present-ttl_sp.png);
    }

    .premium_event h2 {
        background-image: url(../images/event-ttl_sp.png);
    }
    .comic h2 {
        background-image: url(../images/comic-ttl_sp.png);
    }
    .programing h2 {
        background-image: url(../images/programing-ttl_sp.png);
    }
    .research h2 {
        background-image: url(../images/research-ttl_sp.png);
    }
    .talk h2 {
        background-image: url(../images/talk-ttl_sp.png);
    }
    .kokashop h2 {
        background-image: url(../images/kokashop-ttl_sp.png);
    }
    .premium_special h2 {
        background-image: url(../images/special-ttl_sp.png);
    }

    .main-wrap section .slides {
        margin-bottom: 30px;
    }

    .main-wrap section {
        margin-bottom: 60px;
    }

    .slides-inner a p {
        height: 45%;
    }

    .slides-inner a ul {
        padding-top: 12px;
        padding-bottom: 25px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .slides-inner a ul .date {
        font-size: 1.2rem;
    }

    .slides-inner a ul .title {
        font-size: 1.5rem;
    }

    .btn-main {
        width: 200px;
    }

    .btn-main a {
        font-size: 1.6rem;
    }

}

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

    .main-wrap section h2 {
        height: 31vw;
        line-height: 35vw;
    }

    .slick-list {
        height: 334px;
        min-height: 334px;
    }

    .slides-cover {
        height: 320px;
    }

}

/* バナー */

.banner {
    position: relative;
    padding: 5% 19%;
}

.banner::before {
    content: "";
    display: block;
    width: 100%;
    height: 10vw;
    background-color: #fff;
    background-repeat: no-repeat;
    position: absolute;
    top: -20px;
    left: 0;
    mask-image: url(../images/wave01.png);
    mask-position: 0 0;
    mask-repeat: no-repeat;
    mask-size: 100%;
}

.banner-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-left: auto;
    margin-inline-end: auto;
    padding-top: 8%;
}

.banner-wrap p {
    margin-bottom: 60px;
}

.banner-wrap p a {
    display: block;
    width: 100%;
    transition: 0.5s;
}

.banner-wrap p a:hover {
    transition: 0.5s;
    opacity: 0.7;
}

.banner-wrap p a img {
    width: 100%;
}

.banner-wrap__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.banner-wrap__inner p {
    margin-bottom: 0;
    width: 45%;
}

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

    .banner {
        padding: 5%;
    }
    
    .banner::before {
        mask-image: url(../images/wave-sp.png);
    }

    .banner-wrap p {
        margin-bottom: 20px;
    }

    .banner-wrap__inner {
        flex-direction: column;
    }

    .banner-wrap__inner p {
        width: 100%;
    }
}


/* フッター */

footer .guide {
    background-color: #BEE6F5;
    padding: 100px 0 120px;
}

.guide-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62.5%;
    margin-left: auto;
    margin-right: auto;
}

.guide-wrap__tmb {
    width: 34%;
    margin-right: 50px;
}

.guide-wrap__tmb img {
    width: 100%;
}

.guide-wrap__inner {
    margin-left: 50px;
    width: 47%;
}

.guide-wrap__inner p {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.9;
    margin-bottom: 60px;
}

.btn-footer {
    width: 70%;
    border-radius: 60px;
    background-color: #E6007D;
    border: 5px solid #E6007D;
    transition: 0.5s;
}

.btn-footer:hover {
    background-color: #fff;
    transition: 0.5s;
}

.btn-footer:hover a {
    color: #E6007D;
    transition: 0.5s;
}

.btn-footer a {
    text-align: center;
    display: block;
    padding: 8.5% 0;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    transition: 0.5s;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.footer-menu ul {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
}

.footer-menu ul li a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: underline;
    transition: 0.5s;
    color: #828282;
}

.footer-menu ul li a:hover {
    transition: 0.5s;
    opacity: 0.7;
}

.footer-copy {
    background-color: #333;
    padding: 18px;
    text-align: center;
}

.footer-copy small {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}

#pagetop {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    width: 6%;
}

#pagetop a {
    display: block;
    width: 100%;
}

#pagetop a img {
    width: 100%;
}

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

    .btn-footer {
        width: 80%;
    }

    .guide-wrap {
        width: 80%;
    }

}

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

    footer .guide {
        padding: 60px 0 70px;
    }

    .guide-wrap {
        width: 90%;
        flex-direction: column;
    }

    .guide-wrap__tmb {
        width: 63%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .guide-wrap__inner {
        width: 63%;
        margin-left: 0;
    }

    .guide-wrap__inner p {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .btn-footer {
        width: 100%;
        border: 3px solid #E6007D;
    }

    .btn-footer a {
        padding: 5.5% 0;
        font-size: 1.6rem;
        letter-spacing: 0.04em;
    }

    .footer-menu {
        align-items: flex-start;
        justify-content: space-between;
        padding: 40px 30px;
    }

    .footer-menu ul {
        flex-direction: column;
    }

    .footer-menu ul li {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-menu ul li a {
        font-size: 1.5rem;
        letter-spacing: 0.06em;
    }

    .footer-menu ul li:last-child {
        margin: 0;
    }

    .footer-copy {
        padding: 10px;
    }

    .footer-copy small {
        font-size: 1.4rem;
    }

    #pagetop {
        display: none;
        width: 13%;
    }

}

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

    #pagetop {
        width: 18%;
    }

}