@charset "utf-8";

section.title {
    max-width: 1040px;
    margin: 20px auto;
}

section.title a {
    font-size: 14px;
    text-decoration: none;
}

section.title h1 {
    text-align: center;
    font-size: 50px;
    color: #000;
    padding: 10px 0 40px;
    font-weight: 900;
    line-height: 1.2;
}

section.title h1 small {
    font-size: 0.55em;
}

section.index_main {
    background-color: #fff100;
    padding: 0 20px;
    margin-bottom: 100px;
}

section.index_main:has(+ section.note) {
    margin-bottom: 12px !important;
}

section.index_main div {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.index_main div h2 {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 2;
    width: 35%;
    padding-right: 0;
    text-align: justify;
    font-family: YakuHanJP_Noto, 'Noto Sans JP', serif;
}

section.index_main div img {
    width: 65%;
}

section.note {
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto 10px;
}

section.note small {
    font-size: 13px;
}

/*index_link*/
.index_link {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.index_link nav.scroll_link {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    display: none;
}

.index_link nav.scroll_link a {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    width: 19%;
    border: solid 1px #000;
    margin: 10px 0;
    margin-right: calc(5% / 4);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    padding: 0 0;
    text-align: center;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
    height: 54px;
}

.index_link nav.scroll_link a span {
    font-size: 1em;
}

.index_link nav.scroll_link a small {
    display: block;
    width: 100%;
    font-size: 10px;
}

section.index_link nav.page_link {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 40px 0;
}

section.index_link nav.page_link a {
    width: 31%;
    margin-right: calc(7% / 2);
    padding: 5px;
    padding-top: 0px;
    text-decoration: none;
    background-color: #2fb2b9;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;

}

section.index_link nav.page_link a div {
    position: relative;
    padding-top: 15px;
    padding-bottom: 10px;
    min-height: 90px;
}

section.index_link nav.page_link a div::before {
    content: '';
    width: 38px;
    height: 74px;
    position: absolute;
    top: 14px;
    right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/shingaku/start/common/images/indexnum_1.svg);
    opacity: 0.2;
    z-index: 1;
}

section.index_link nav.page_link a:nth-child(n+10) div::before {
    width: 67px;
}

section.index_link nav.page_link a * {
    position: relative;
    z-index: 2;
}

section.index_link nav.page_link a:nth-child(2) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_2.svg);
}

section.index_link nav.page_link a:nth-child(3) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_3.svg);
}

section.index_link nav.page_link a:nth-child(4) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_4.svg);
}

section.index_link nav.page_link a:nth-child(5) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_5.svg);
}

section.index_link nav.page_link a:nth-child(6) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_6.svg);
}

section.index_link nav.page_link a:nth-child(7) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_7.svg);
}

section.index_link nav.page_link a:nth-child(8) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_8.svg);
}

section.index_link nav.page_link a:nth-child(9) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_9.svg);
}

section.index_link nav.page_link a:nth-child(10) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_10.svg);
}

section.index_link nav.page_link a:nth-child(11) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_11.svg);
}

section.index_link nav.page_link a:nth-child(12) div::before {
    background-image: url(/shingaku/start/common/images/indexnum_12.svg);
}

section.index_link nav.page_link a:nth-child(3n) {
    margin-right: 0;
}

section.index_link nav.page_link a h3 {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    padding-left: 40px;
    margin: 0 10px 8px;
    margin-left: 8px;
    line-height: 1.4;
    font-family: YakuHanJP_Noto, 'Noto Sans JP', serif;
}

section.index_link nav.page_link a h3.nokbn {
    padding-left: 0;
}

section.index_link nav.page_link a h3.inline {
    line-height: 1.0;
}

section.index_link nav.page_link a h3 small {
    display: block;
    font-size: 0.65em;
    line-height: 1.2;
    margin-top: 5px;
}

section.index_link nav.page_link a h3 small span {
    display: inline-block;
}

section.index_link nav.page_link a h3 small.inline {
    display: inline;
    margin-left: 0.5em;
}

section.index_link nav.page_link a h3 small.beforename {
    font-size: 0.6em;
    font-weight: 400;
}

section.index_link nav.page_link a h3.inline small {
    display: inline;
}

section.index_link nav.page_link a h3::first-line {
    line-height: 1;
}

section.index_link nav.page_link a h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    text-align: center;
    width: 36px;
    height: 20px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

}

section.index_link nav.page_link a h3.kbn1::before {
    background-image: url(/shingaku/start/common/images/index_kbn1.svg);
    background-color: #fff;
}

section.index_link nav.page_link a h3.kbn2::before {
    background-image: url(/shingaku/start/common/images/index_kbn2.svg);
    background-color: #fff;
}

section.index_link nav.page_link a h3.kbn3::before {
    background-image: url(/shingaku/start/common/images/index_kbn3.svg);
    background-color: #fff;
}

section.index_link nav.page_link a h3.nokbn::before {
    content: none;
}

section.index_link nav.page_link a p {
    display: block;
    font-family: YakuHanJP_Noto, 'Noto Sans JP', serif;
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
    padding-left: 8px;
    line-height: 1.4;
    text-indent: 0;
}

section.index_link nav.page_link a p.ls {
    letter-spacing: -0.02em;
}

section.index_link nav.page_link a p sup {
    font-size: 0.5em;
}

section.index_link nav.page_link a p small {
    display: block;
    font-size: 0.6em;
    line-height: 1;
}

section.index_link nav.page_link a img {
    width: 100%;
    margin-top: auto;
    display: block;
}



/**/
aside {
    z-index: 100;
}

@media screen and (min-width:640px) {
    section.index_link a:hover {
        opacity: 0.7;
    }
}

@media screen and (max-width:1040px) {
    section.index_main {
        padding: 0 1.92vw;
    }

    section.index_main div h2 {
        font-size: 1.73vw;
    }
}

@media screen and (max-width:1000px) {

    section.index_main div a {
        width: 45%;
        max-width: 330px;
    }

    section.note {
        padding: 0 20px;
        margin: 0 auto 10vw;
    }

    section.note small {
        font-size: 1.3vw;
    }

    /*index_link*/
    .index_link {
        padding: 0 2vw;

    }

    .index_link nav.scroll_link a {
        margin: 1vw 0;
        margin-right: calc(5% / 4);
        font-size: 1.5vw;
        font-weight: 500;
        padding: 0.5vw 0;
        height: 5.4vw;
    }

    .index_link nav.scroll_link a small {
        font-size: 1vw;
    }

    section.index_link nav.page_link {
        margin: 4vw 0;
    }

    section.index_link nav.page_link a {
        margin-bottom: 3.5vw;
    }

    section.index_link nav.page_link a div {
        padding-top: 1.5vw;
        padding-bottom: 1vw;
        min-height: 9vw;
    }

    section.index_link nav.page_link a div::before {
        width: 3.8vw;
        height: 7.4vw;
        position: absolute;
        top: calc(50% - 3.7vw);
        right: 1vw;
    }

    section.index_link nav.page_link a:nth-child(n+10) div::before {
        width: 6.7vw;
    }

    section.index_link nav.page_link a * {
        position: relative;
        z-index: 2;
    }

    section.index_link nav.page_link a h3 {
        font-size: 1.8vw;
        padding-left: 4vw;
        margin: 0 1vw 1vw;
        margin-left: 1vw;
    }

    section.index_link nav.page_link a h3::before {
        width: 3.6vw;
        height: 1.8vw;
    }

    section.index_link nav.page_link a p {
        font-size: 1.4vw;
        margin-bottom: 0;
        padding-left: 0vw;
    }

    /*feature_rikejo*/
    .f_wri section.index_link nav.page_link a:nth-child(3) div h3 {
        min-height: 5.8vw;
    }

    .f_wri section.index_link nav.page_link a:nth-child(4) div h3 {
        min-height: 9vw;
    }

    .f_wri section.index_link nav.page_link a h3 small.note {
        font-size: 1vw;
        margin-top: 0.2vw;
    }

    .f_MD section.index_link nav.page_link a div {
        min-height: 15.4vw;
    }

    .f_ND section.index_link nav.page_link a:nth-child(1) div,
    .f_ND section.index_link nav.page_link a:nth-child(2) div,
    .f_ND section.index_link nav.page_link a:nth-child(3) div {
        min-height: 11.8vw;
    }

    .f_ND section.index_link nav.page_link a:nth-child(4) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(5) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(6) div h3 {
        min-height: 8vw
    }

    .f_OC section.index_link nav.page_link a:nth-child(1) div,
    .f_OC section.index_link nav.page_link a:nth-child(2) div,
    .f_OC section.index_link nav.page_link a:nth-child(3) div {
        min-height: 11.4vw;
    }

    /*feature_rikougaku*/
    .f_ri section.index_link nav.page_link a:nth-child(1) div h3,
    .f_ri section.index_link nav.page_link a:nth-child(2) div h3,
    .f_ri section.index_link nav.page_link a:nth-child(3) div h3 {
        min-height: 5.5vw;
    }

}

/*@media screen and (max-width:920px) */
@media screen and (max-width:640px) {
    section.title {
        margin: 4vw auto;
    }

    section.title a {
        font-size: 3vw;
        text-decoration: none;
        padding-left: 1em;
    }

    section.title a {
        font-size: 14px;
        text-decoration: none;
    }

    section.title h1 {
        font-size: 6vw;
        padding: 4vw 0;
    }

    section.index_main {
        padding: 0;
        margin-bottom: 6vw;
    }

    section.index_main div {
        flex-wrap: wrap;
    }

    section.index_main div img {
        width: 100%;
        max-width: unset;
        margin-bottom: 0;
    }

    section.index_main div h2 {
        order: 2;
        font-size: 4vw;
        width: 100%;
        margin: 0;
        padding: 4vw;
        text-align: center;
    }

    section.note {
        padding: 1vw 4vw;
        margin: 0 auto;
    }

    section.note small {
        font-size: 2.8vw;
    }

    /*index_link*/
    .index_link {
        padding: 4vw;
    }

    .index_link nav.scroll_link {
        /*display: flex;*/
        justify-content: flex-start;
    }

    .index_link nav.scroll_link a {
        width: 32%;
        margin: 1vw 0;
        margin-right: 2%;
        font-size: 2.7vw;
        line-height: 1.4;
        min-height: 10vw;
    }

    .index_link nav.scroll_link a:nth-child(3n) {
        margin-right: 0;
    }

    .index_link nav.scroll_link a small {
        font-size: 2.6vw;
    }

    section.index_link nav.page_link {
        margin: 6vw 0;
    }

    section.index_link nav.page_link a {
        display: block;
        width: 100%;
        margin-right: 0;
        padding: 1vw;
        margin-bottom: 6vw;
    }

    section.index_link nav.page_link a div {
        min-height: 22vw;
        padding: 3vw 0;
    }

    section.index_link nav.page_link a div::before {
        width: 10vw;
        height: 20vw;
        position: absolute;
        top: calc(50% - 10vw);
        right: 10px;
    }

    section.index_link nav.page_link a:nth-child(n+10) div::before {
        width: 17vw;
    }

    section.index_link nav.page_link a h3 {
        color: #fff;
        font-weight: 500;
        font-size: 5.6vw;
        line-height: 1;
        padding-left: 10vw;
        margin: 0 2vw 2vw;
        margin-left: 3vw;
        line-height: 1.4;
    }

    section.index_link nav.page_link a h3::before {
        width: 9vw;
        height: 5.5vw;
    }

    section.index_link nav.page_link a p {
        display: block;
        color: #fff;
        font-size: 4.2vw;
        margin-bottom: 0;
        padding-left: 3vw;
    }

    section.index_link nav.page_link a img {
        width: 100%;
    }

    .f_wri section.index_link nav.page_link a h3 small.note {
        font-size: 3vw;
        margin-top: 0.5vw;
    }

    /*feature_medical*/
    .f_MD section.index_link nav.page_link a {
        margin: 0 auto 6vw;
    }

    .f_MD section.index_link nav.page_link {
        justify-content: center;
        margin-bottom: 0;
        margin-top: 0;
    }

    .f_MD section.index_link nav.page_link a div {
        min-height: 144px;
    }

    .f_MD section.list {
        margin-top: 0;
    }

    .f_MD section.list ul {
        justify-content: flex-start;
    }

    .f_MD section.list ul li {
        margin: 0 2vw 8vw;
    }

    .f_ND section.index_link nav.page_link a:nth-child(1) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(2) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(3) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(7) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(8) div h3,
    .f_ND section.index_link nav.page_link a:nth-child(9) div h3 {
        min-height: unset;
    }

    /**/
    .pagetop {
        bottom: 3vw;
        right: 3vw;
    }

    .pagetop a {
        width: 12vw;
        height: 12vw;

        bottom: 0;
        right: 0;
    }
}

/*@media screen and (max-width:640px)*/