@charset "utf-8";

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    margin-bottom: 1px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/*ヘッダー*/


header {
    width: 100%;
    position: relative;
    padding-top: 0;
}

.grade2 header {
    background-color: #fff100;
}

.grade3 header {
    background-color: #fff100;
}


header>div.maintitles {
    width: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 362px;
}

.grade2 header>div.maintitles {
    /*background-image: url(/shingaku/start/common/images/grade2_back.svg?2);*/
}

.grade3 header>div.maintitles {
    /*background-image: url(/shingaku/start/common/images/grade3_back.svg)*/
}

header div.mainvisual {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding-right: 0;
    /* height: 362px; */
}

header div.mainvisual h1 {
    display: block;
    width: 100%;
    max-width: 1170px;
    height: 100%;
    z-index: 1;
    /* position: relative; */
    margin: auto;
}

header div.mainvisual img.tmlogo {
    position: absolute;
    top: 8%;
    left: 18.6%;
    display: block;
    margin-left: 4px;
    margin-bottom: 10px;
    width: 16%;
}

header div.mainvisual h1 img {
    width: 100%;
}

header div.mainvisual a {
    position: absolute;
    z-index: 2;
    top: 68%;
    left: 15%;
    display: block;
    margin: 10px 0 0 0;
    width: 16%;
}

header div.mainvisual img.mainvisual {
    width: auto;
    max-width: 1040px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

header div.read {
    width: 100%;
    max-width: unset;
    padding: 0;
}

.grade2 header div.read {
    background: #008bd5;
}

.grade3 header div.read {
    background: #e9528e;
}

header>div.read>div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.grade2 header>div.read>div {
    background-image: url(/shingaku/start/common/images/grade2_back.svg);
}

.grade3 header>div.read>div {
    background-image: url(/shingaku/start/common/images/grade3_back.svg);
}

header div.read h3 {
    max-width: 1000px;
    margin: auto;
    display: block;
    padding: 60px 0 40px;
    position: relative;
}

header div.read h3 figure {
    margin: 0;
    width: 38.6%;
    padding: 0 1%;
    position: absolute;
    top: -11%;
    left: 13%;
    z-index: 10;
}

header div.read h3 figure img {
    width: 100%;
}

header div.read h3 span,
header div.read h3 b {
    display: block;
    width: 72%;
    margin: auto;
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 900;
}

header div.read h3 span img {
    width: 100%;
    margin: 0 auto 20px;
}

header div.read h3 b {
    margin-top: 0.4em;
    font-size: 28px;
    line-height: 1;
}

header div.read h3 small {
    display: block;
    text-align: right;
    padding-right: 1em;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    position: absolute;
    right: 0;
    bottom: 30px;
}

header div.read .read_illust {
    position: absolute;
    z-index: 1;
}

header div.read .read_illust.illust1 {
    bottom: -20px;
    left: 50px;
}

header div.read .read_illust.illust2 {
    bottom: 96px;
    right: 60px;
}

/*特集リンク*/
section.feature_link {
    /* max-width: 1040px; */
    margin: auto;
    margin: 50px auto 50px;
    padding: 0 20px 40px;
    /* border-bottom: solid 1px #dcdcdc; */
}

section.feature_link h4 {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1F2A66;
    margin-bottom: 50px;
}

section.feature_link h4 img {
    width: 64%;
    margin: auto;
}

section.feature_link nav {
    max-width: 730px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

section.feature_link nav a {
    width: calc(90% / 3);
    margin-right: 5%;
    margin-bottom: 5%;
    display: block;
    text-decoration: none;
}

section.feature_link nav a:nth-child(3n) {
    margin-right: 0;
}

section.feature_link nav a img {
    width: 100%;
}

section.feature_link nav a h5 {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #1f2a66;
    min-height: 54px;
    line-height: 1.4;
}

section.feature_link nav a p {
    font-family: YakuHanJP_Noto, 'Noto Sans JP', serif;
    font-size: 14px;
    color: #000;
    text-align: justify;
}

section.feature_link nav a p span {
    color: #3db8eb;
    font-weight: 500;
}

/*メインエリア*/
article.index {
    padding: 0;
}

article.index h3 {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    /* border-bottom: solid 1px #000; */
    color: #1F2A66;
}

aside {
    width: 100%;
    background: rgb(31 42 102 / 80%);
    position: sticky;
    bottom: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

aside a {
    display: block;
    width: 320px;
    background-color: #fff100;
    padding: 15px 0;
    border-radius: 5px;
    line-height: 1;
    font-size: 24px;
    font-weight: 600;
    color: #1f2a66;
    text-align: center;
    text-decoration: none;
    margin: 0 20px;
}

aside#tmbnr {
    width: 270px;
    height: 220px;
    background: none;
    position: fixed;
    top: 150px;
    right: -300px;
    opacity: 0;
    padding: 0;
    transition: all 0.5s 0s ease;
}

aside#tmbnr.open {
    right: 0;
    opacity: 1;
}

aside#tmbnr span#tmbnr_close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: -15px;
}

aside#tmbnr a {
    background: none;
    margin: 0;
    padding: 0;
}

aside#tmbnr span#tmbnr_close img,
aside#tmbnr a img {
    width: 100%;
}

/*フッター*/
footer {
    width: 100%;
    padding: 20px 0;
    background-color: #1f2a66;
    clear: both;
}

footer img {
    margin: 0 auto;
}

/*トップへ戻る*/
.pagetop {
    bottom: 1.1%;
    position: fixed;
    right: 4%;
    z-index: 99999;
}

.pagetop a {
    background: #343c48 none repeat scroll 0 0;
    border: 1px solid #fff;
    border-radius: 8px;
    display: block;
    line-height: 1;
    overflow: hidden;
    width: 50px;
    height: 50px;
    position: relative;
}

.pagetop a::before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    border-top: solid 4px #fff;
    border-left: solid 4px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 12px);
}

@media screen and (min-width:640px) {
    header a.headerDP:hover {
        background-color: #fff17a
    }

    section.feature_link nav a:hover,
    section.btnarea nav a:hover,
    section.feature_link a.link_steam:hover {
        opacity: 0.8;
    }
}

@media screen and (max-width:1170px) {
    header>div.maintitles {
        background-position: center;
        background-size: 223%;
        max-height: 362px;
        height: 31.5vw;
        background-size: cover;
    }

    header div.mainvisual {
        height: 100%;
    }

    header div.read h3 {
        padding: 4.56vw 0 3.56vw;
    }

    header div.read h3 span,
    header div.read h3 b {
        font-size: 1.42vw;
    }

    header div.read h3 b {
        /* margin-top: 0; */
        font-size: 2.50vw;
    }

}

@media screen and (max-width:1040px) {

    /*特集リンク*/
    header div.read h3 small {
        font-size: 1.2vw;
        bottom: 2.56vw;
    }

    section.feature_link {
        margin: 5vw auto 6vw;
        padding: 0 2vw 4vw;
    }

    section.feature_link h4 {
        font-size: 3vw;
        margin-bottom: 5vw;
    }

    section.feature_link h4::before {
        width: 5.2vw;
        height: 5.2vw;
        margin-right: 1vw;
    }

    section.feature_link nav a h5 {
        font-size: 1.8vw;
        min-height: 5.4vw;
    }

    section.feature_link nav a p {
        font-size: 1.4vw;
        color: #000;
    }

    /*メインエリア*/
    article.index {
        padding: 0;
    }

    article.index h3 {
        font-size: 3.2vw;
        margin-bottom: 4vw;
    }

    aside {
        padding: 1vw;
    }

    aside a {
        width: 32vw;
        padding: 1.5vw 0;
        font-size: 2.4vw;
        margin: 0 2vw;
    }

    aside#tmbnr {
        width: 27vw;
        height: 22vw;
        top: 15vw;
    }

    aside#tmbnr span#tmbnr_close {
        width: 3vw;
        height: 3vw;
        left: -1.5vw;
    }

    aside#tmbnr a {
        margin: 0;
        padding: 0;
    }

    /*フッター*/
    footer {
        padding: 2vw 0;
    }
}

/*@media screen and (max-width:920px) */
@media screen and (max-width:640px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    header {
        width: 100%;
        position: relative;
        padding-top: 0;
    }

    header>div.maintitles {
        background-image: unset;
        height: auto;
        max-height: unset;
    }

    .grade2 header>div.maintitles {
        /*background-image: url(/shingaku/start/common/images/grade2_back_sp.svg);*/
    }

    .grade3 header>div.maintitles {
        /*background-image: url(/shingaku/start/common/images/grade3_back_sp.svg)*/
    }

    header div.mainvisual {
        padding-right: 0;
        height: auto;
    }

    header div.mainvisual h1 {
        top: 0;
        left: 0;
        max-width: unset;
        width: 100%;
    }

    header div.mainvisual img.tmlogo {
        top: 5%;
        left: 4%;
        display: block;
        margin-left: 0;
        margin-bottom: 0;
        width: 40%;
    }

    header div.mainvisual h1 a {
        display: block;
        margin: 10px 0 0 0;
        width: 40%;
        top: 29%;
        left: 4%;
        z-index: 1;
    }

    header div.mainvisual img.mainvisual {
        position: relative;
        max-width: unset;
        width: 100%;
    }

    header div.read {}

    header div.read h3 {
        padding: 8vw 0 6vw;
        position: relative;
    }

    header div.read h3 figure {
        width: 70%;
        padding: 0 4vw;
        padding-left: 5vw;
        /*transform: rotate(2deg);*/
        top: -8%;
        left: 0;
    }

    header div.read h3 figure img {
        width: 100%;
        margin: 0 auto 10px;
    }

    header div.read h3 span,
    header div.read h3 b {
        display: block;
        width: 90%;
        margin: 0 auto 1vw;
        text-align: justify;
        line-height: 1.6;
        font-size: 3.4vw;
        font-weight: 700;
    }

    header div.read h3 span img {
        width: 103%;
        position: relative;
        left: -1.5%;
        margin: 10px auto 10px;
    }

    header div.read h3 span br {
        display: none;
    }

    header div.read h3 b {
        margin: 0 auto 2vw;
        font-size: 4.5vw;
        text-align: center;
        font-weight: 900;
    }

    header div.read h3 small {
        font-size: 2.8vw;
    }

    header div.read .read_illust.illust1 {
        display: none;
    }

    header div.read .read_illust.illust2 {
        bottom: inherit;
        right: 30px;
        width: 20%;
        top: -16px;
    }

    .grade2 header>div.read>div {
        background-image: url(/shingaku/start/common/images/grade2_back_sp.svg);
    }

    .grade3 header>div.read>div {
        background-image: url(/shingaku/start/common/images/grade3_back_sp.svg);
    }


    /*特集リンク*/
    section.feature_link {
        margin: 8vw auto 6vw;
        padding: 0 4vw 4vw;
    }

    section.feature_link h4 {
        margin-bottom: 8vw;
    }

    section.feature_link h4 img {
        width: 100%
    }

    section.feature_link a.link_steam {
        width: 90%;
        margin: 0 auto 4vw;
    }

    section.feature_link nav {}

    section.feature_link nav a,
    section.feature_link nav a:nth-child(3n) {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 4%;
    }

    section.feature_link nav a:nth-child(2n) {
        margin-right: 0;
    }

    section.feature_link nav a h5 {
        font-size: 3.6vw;
        min-height: 10vw;
    }

    section.feature_link nav a p {
        font-size: 2.8vw;
    }

    aside {
        padding: 2vw;
        display: flex;
        justify-content: center;
    }

    aside a {
        display: block;
        width: 60%;
        padding: 3vw 0;
        font-size: 5vw;
        margin: 0;
    }

    aside#tmbnr {
        width: 100%;
        height: unset;
        top: unset;
        bottom: 16vw;
        right: -100%;
        opacity: 0;
    }

    aside#tmbnr.open {
        right: 0;
        opacity: 1;
    }

    aside#tmbnr span#tmbnr_close {
        width: 8vw;
        height: 8vw;
        top: -4vw;
        left: unset;
        right: 0vw
    }

    aside#tmbnr a {
        width: 100%;
    }

    /*トップへ戻る*/
    .pagetop {
        bottom: 2vw;
        right: 2vw;
    }

    .pagetop a {
        width: 11vw;
        height: 11vw;
    }

    .pagetop a::before {
        width: 4vw;
        height: 4vw;
        top: calc(50% - 1.5vw);
        left: calc(50% - 2.5vw);
    }

    footer {
        width: 100%;
        height: unset;
        padding: 5vw;
    }

    footer img {
        margin: 0 auto;
        padding: 1vw 0 0;
        width: 60vw;
    }
}

/*@media screen and (max-width:640px)*/