@import url('https://code.highcharts.com/css/highcharts.css');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Zen+Antique&family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

/* ---- reset ---- */
body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    /* background-image: linear-gradient(90deg, rgb(255, 251, 0) 50%,rgb(0, 174, 255)51%); */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
li {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.navbar {
    background-color: white;
}

canvas {
    display: block;
    vertical-align: top;
}

/* ---- particles.js container ---- */
#particles-js {
    position: absolute;
    top: 0;
    width: 100%;
    height: 90vh;
    background-color: #0088F9;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

/* ---- stats.js ---- */
.count-particles {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    position: relative;
    margin: 0 auto;
}

.count-particles img#top-head-img {
    max-width: 1200px;
    min-width: 800px;
    position: absolute;
    bottom: 0;
    mix-blend-mode: soft-light;
}

.count-particles li img {}

.js-count-particles {}

#stats,
.count-particles {
    -webkit-user-select: none;
}

.card {
    min-width: 230px;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.356);
    background: rgba(0, 0, 0, 0.767);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
}

.circle {
    height: 100%;
}

.card a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card .circle-text {
    padding: 10px;
    text-align: center;
    transform: translateY(0px);
    /* あとで */
    opacity: 1;
    /* あとで */
    transition: 0.5s;
}

.card:hover {
    transform: translateY(0px);
    opacity: 1;
}

.card h3 {
    font-size: 0.9;
    font-weight: 600;
    color: #fff;
    /* z-index: 1; */
    text-align: center;
    margin: 0;
    text-decoration: none;
}

.card p {
    color: #fff;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-family: "Poppins", sans-serif;
}

.tag {
    padding: 0 30px 30px 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tag>div {
    display: inline-block;
    padding: 3px 10px;
    margin: 5px;
    border: 1px solid white;
    box-sizing: border-box;
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.top-section-title {
    border: 1px solid black;
    box-sizing: border-box;
    padding: 8px 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.2rem;
    border-radius: 50px;
    width: 290px;
    margin: 0 auto 30px auto;
}

.bk-w {
    background-color: white;
}

.bk-y {
    background-color: #FEF45C;
}

.bk-b {
    background-color: black;
}

.course ul.course-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
    width: calc(100% - 50px);
    max-width: 700px;
    margin: 0 auto 100px;
}

.course ul.course-text li {
    display: inline-flex;
    justify-content: space-between;
    column-gap: 10px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 3px 3px 3px 0px #F9E400;
    padding: 20px;
    width: 100%;
}

.course,
.fetures,
.sec-5.top-lab,
.sec-11 {
    padding: 150px 0;
}

.sec-2 {
    padding: 150px 0 10px 0;
}

.course {
    border-radius: 30px;
}

.course ul.course-text li>div:first-of-type {
    width: 200px;
    padding-top: 50px;
    color: #3279FE;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}

.course ul.course-text li>div:nth-of-type(2) {
    width: calc(100% - 220px);
    padding-left: 10px;
    border-left: 2px dotted #3279FE;
    box-sizing: border-box;
    text-align: left;
}

.course ul.keywords {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    width: calc(100% - 50px);
    max-width: 500px;
    margin: 0 auto;
}

.course ul.keywords li {
    border: 1px solid black;
    padding: 0px 10px;
    border-radius: 5px;
}

#philosophy {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 30px;
}

#philosophy>li:nth-of-type(2) ul li .img-box {
    display: flex;
    justify-content: flex-end;
}

.feature-text-cap {
    font-size: 1.2rem;
    font-weight: bold;
    word-break: auto-phrase;
}

.feature-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 1200px;
    gap: 50px;
    margin: 0 auto;
    width: 100%;
}

.feature-text li {
    width: 50%;
    max-width: 390px;
}

.feature-text li:nth-of-type(2) {
    margin-top: 100px;
}

.feature-text li .img-box {
    /* min-width: 360px; */
}

.feature-text li .img-box img {
    max-width: 500px;
    box-shadow: 5px 5px 0px rgb(0, 114, 221);
    border-radius: 5px;
}

.count-particles ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 50px;
    max-width: 1200px;
    box-sizing: border-box;
    position: absolute;
    top: 40vh;
}

.count-particles ul li {
    width: calc(50% - 50px);
}

.newNameBox {
    position: absolute;
    top: 25vh;
    font-size: 2.8rem;
    font-weight: 600;
    z-index: 1;
    line-height: 5rem;
    color: #FEF45C;
    /* background-color: white; */
    max-width: 800px;
    /* inset: 0; */
    /* margin: 25vh auto 0 auto; */
}

/* .circle-text{
    margin: 0 auto;
    padding: 40px;
} */
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.modal__bg {
    background: rgba(255, 255, 255, 0.3);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal__content {
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}

.modal__content dl {
    border-bottom: 1px solid black;
}

.modal__content .modal-title {
    font-size: 1.2rem;
}

.modal__content {
    position: relative;
}

.fa-xmark {
    font-size: 2rem;
    co\lor: #757575;
    position: absolute;
    top: 5px;
    left: 5px;
}

@keyframes clip-text {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes text-revealer {

    0%,
    50% {
        transform-origin: 0 50%;
    }

    60%,
    100% {
        transform-origin: 100% 50%;
    }

    60% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

.sec-8,
.sec-10,
.sec-6 {
    width: 100%;
    background-color: #FEF45C;
    text-align: center;
}

.inner-link-btn {
    padding: 270px 0 0 0;
}

.sec-8 ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 50px);
    max-width: 700px;
    margin: 0 auto;
}

.sec-8 ul li {
    width: 30%;
}

.sec-8 ul li a {
    width: 100%;
}

.sec-8 ul li a img {
    width: 100%;
    display: block;
}

.aboutus-caption {
    font-size: 1.8rem;
    font-weight: bold;
    word-break: auto-phrase;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 150px;
}

.aboutus-text {
    padding: 10px 0 100px 0;
}

#news {
    margin: 0 auto 0 auto;
    padding: 0;
    max-width: initial;
    width: calc(100% - 60px);
}

#news-list,
#award-list {
    border: none;
    background-color: initial;
    width: calc(100% - 100px);
    margin-left: 100px;
}

#news h2.h2 {
    border: none;
    background-color: initial;
    margin-left: 10px;
}

#news h2.h2 .h2-en,
h2.h2 .h2-en {
    font-size: 4rem;
    font-weight: 600;
    color: #005fcc;
    line-height: 4.5rem;
    text-decoration: none;
}

#news h2.h2>div {
    font-size: 1.2rem;
    font-weight: bold;
}

h2.h2>div {
    font-size: 1.2rem;
    font-weight: bold;
}

#news h2.h2 {
    border: none;
    transform: translateY(35px);
    transform-origin: top left;
    width: inherit;
    /* background-color: #fff; */
    text-align: left;
    width: 290px;
}

.news-content {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    margin: 0px auto 50px auto;
    justify-content: flex-start;
    width: calc(100% - 40px);
    max-width: 800px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

/* .top-lab li img {
    border-radius: inherit;
} */
.futureLists>div {
    background-color: white;
}

.medic {
    background-size: 100%;
}

#information {
    scroll-behavior: smooth;
}

.aboutus-text {
    margin: 50px auto;
    text-align: center;
    width: 50%;
    word-break: auto-phrase;
}

.lab ul li {
    background-color: #fef45c;
}

.top-lab li img {
    width: 20px;
    margin: inherit;
    border-radius: 50px;
}

.top-lab .h2 .h2-en,
#career .h2 .h2-en,
#master .h2 .h2-en,
h2 {
    text-align: center;
}

#top-lab .lab ul {
    max-width: 1000px;
    width: calc(100% - 50px);
    margin: 100px auto 0 auto;
    display: flex;
    justify-content: space-evenly;
}

#top-lab .lab ul li {
    width: calc((100% / 4) - 10px);
}

#top-lab .teacher-thumb {
    bottom: 18%;
    left: 0px;
}

.inner-link-btn ul a span {
    position: absolute;
    top: 30%;
    left: 5%;
}

.inner-link-btn ul a {
    position: relative;
    color: black;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.sec-2 {
    max-width: inherit;
    width: 100%;
    background-color: #0068bd;
    position: relative;
}

.news_back-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15rem;
    line-height: 15rem;
    font-weight: 700;
    opacity: 0.2;
    position: absolute;
    left: -9px;
    top: -240px;
    z-index: -1;
    transform: rotate(90deg);
    transform-origin: bottom left;
    stroke-width: 3px;
    color: #0068bd;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}

#career {
    width: calc(100% - 50px);
    margin: 0 auto;
    max-width: 1200px
}

.koutei-img {
    margin-top: -50px;
    margin-bottom: -12px;
}

.koutei-img img {
    z-index: -5;
    width: 100%;
    min-width: 500px;
}

ul li a .lab-name {
    position: relative;
}

a.lab-link {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    font-size: 14px;
}

#top-lab .teacher-thumb {
    position: absolute;
    bottom: 50px;
}

.master-doctor .copy1 {
    max-width: 1000px;
}

/* .hanrei .copy1 {
    margin-top: 20px;
} */
.master-text {
    display: flex;
    flex-direction: row-reverse;
}

.master-text .copy1 {
    margin-left: 10%;
    word-break: auto-phrase;
}

.master_img-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: center;
    height: 250px;
}

.master_box {
    width: 35%;
}

.koutei-img {
    position: relative;
}

.koutei-img::before {
    width: 100%;
    height: 300px;
    content: "";
    position: absolute;
    top: 0;
    background-image: linear-gradient(180deg, #0068bd, transparent);
    z-index: 100;
    display: inline-block;
}

.koutei {
    background-color: #0068bd;
}

#chart1 {
    min-width: 460px;
    height: 500px;
    margin: 0 calc(50% - 50vw);
}

.highcharts-tooltip-box {
    fill: black;
    fill-opacity: 0.6;
    stroke-width: 0;
}

.highcharts-tooltip text {
    font-size: 0.8rem;
    fill: white;
    font-family: 'Poppins', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', sans-serif;
    font-weight: lighter;
}

.highcharts-tooltip text tspan {
    font-weight: normal !important;
}

.highcharts-data-label text {
    /* font-size: 0.9rem !important; */
    font-weight: lighter !important;
}

.highcharts-pie-series .highcharts-data-label-connector {
    stroke: rgb(182, 182, 182);


}

:root {
    --highcharts-color-0: #1f77b4;
    --highcharts-color-1: #aec7e8;
    --highcharts-color-2: #ff7f0e;
    --highcharts-color-3: #ffbb78;
    --highcharts-color-4: #2ca02c;
    --highcharts-color-5: #98df8a;
    --highcharts-color-6: #d62728;
    --highcharts-color-7: #ff9868;
    --highcharts-color-8: #9467bd;
    --highcharts-color-9: #c5b0d5;
    --highcharts-color-10: #8c465b;
    --highcharts-color-11: #c49c94;
    --highcharts-color-12: #e377c2;
}

.col_1f77b4 .box {
    background-color: #1f77b4;
}

.col_aec7e8 .box {
    background-color: #aec7e8;
}

.col_ff7f0e .box {
    background-color: #ff7f0e;
}

.col_ffbb78 .box {
    background-color: #ffbb78;
}

.col_2ca02c .box {
    background-color: #2ca02c;
}

.col_98df8a .box {
    background-color: #98df8a;
}

.col_d62728 .box {
    background-color: #d62728;
}

.col_ff9868 .box {
    background-color: #ff9868;
}

.col_9467bd .box {
    background-color: #9467bd;
}

.col_c5b0d5 .box {
    background-color: #c5b0d5;
}

.col_8c465b .box {
    background-color: #8c465b;
}

.col_c49c94 .box {
    background-color: #c49c94;
}

.col_e377c2 .box {
    background-color: #e377c2;
}

/* .col_f7b6d2 .box {
    background-color: #f7b6d2;
} */
.hanrei {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 0 auto;
}

.hanrei ul {
    margin-top: 50px;
    display: inline-flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    height: 130px;
    justify-content: flex-end;
    width: calc(100% + 60px);
    align-content: center;
    column-gap: 20px;
}

.hanrei ul li {
    margin-right: 20px;
    display: inline-block;
    line-height: 1.6rem;
    font-family: 'Jost', 'Poppins', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', sans-serif;

    .box {
        width: 15px;
        height: 15px;
        float: left;
        margin-top: 3px;
        margin-right: 3px;
    }
}

.kome {
    margin-top: 20px;
    font-family: 'Jost', 'Poppins', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', sans-serif;
}

@media screen and (max-width:777px) {
    .hanrei ul {
        margin-top: 50px;
        display: inline-flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        height: 200px;
        justify-content: flex-end;
        width: calc(100% + 60px);
        align-content: center;
        column-gap: 10px;
    }
}

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

    .aboutus-text {
        width: calc(100% - 50px);
    }

    .course {
        border-radius: 0px;
    }

    #top-lab .lab ul li {
        width: calc((100% / 3) - 15px);
        aspect-ratio: initial;
        padding-bottom: 0;
    }

    .top-lab li img {
        margin: initial;
        border-radius: 50%;
    }

    ul li a .lab-name {
        position: relative;
    }

    a.lab-link {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        font-size: 14px;
    }

    .CircleClip {
        min-width: 45px;
        min-height: 45px;
    }

    #top-lab .teacher-thumb {
        position: absolute;
        bottom: 65px;
    }

    .news-content {
        display: flex;
        align-items: center;
    }

    #news h2.h2,
    .h2 .h2-en {
        text-align: center;
    }

    #news {
        width: calc(100% - 40px);
    }

    .news-content {
        width: calc(100% - 10px);
    }

    #news-list,
    #award-list {
        border: none;
        background-color: initial;
        width: calc(100% - 5px);
        margin-left: 0;
        margin-top: 30px;
    }

    .link-btn-blue a {
        word-break: auto-phrase;
    }

    .feature-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .feature-text li {
        width: 100%;
        max-width: initial;
    }

    .feature-text li:nth-of-type(2) {
        margin-top: 0px;
        width: 100%;
    }

    #philosophy>li:nth-of-type(2)>ul {
        display: flex;
        flex-direction: column-reverse;
    }

    #philosophy img {
        width: 100%;
    }

    .course ul.course-text li {
        display: inline-flex;
        flex-direction: column;
    }

    .course ul.course-text li>div:nth-of-type(2) {
        width: 100%;
        padding-left: 10px;
        border-left: 2px none #3279FE;
        border-top: 2px dotted #3279FE;
        box-sizing: border-box;
        text-align: left;
        padding-top: 30px;
    }

    .course ul.course-text li>div:first-of-type {
        width: 100%;
    }

    #philosophy>li:nth-of-type(2) ul li .img-box {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        height: 300px;
        overflow: hidden;
    }
    .hanrei {
  width: fit-content;
    text-align: center;
}
       .hanrei ul {
        margin-top: 10px;
        display: inline-flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        height: initial;
        width: fit-content;
        align-items: flex-start;
    }
    .career{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: center;
    }
}

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

    .hanrei ul li {
        font-size: 1rem;
    }
    .newNameBox {
        position: absolute;
        top: 15vh;
        font-size: 2.5rem;
        font-weight: 600;
        z-index: 1;
        line-height: 5rem;
        color: #FEF45C;
        /* background-color: white; */
        max-width: 800px;
        /* inset: 0; */
        /* margin: 25vh auto 0 auto; */
    }

    .sec-8 ul li {
        width: 48%;
    }

    #top-lab .lab ul li {
        width: calc((100% / 2) - 15px);
        aspect-ratio: initial;
        padding-bottom: 0;
    }

    .count-particles ul {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-end;
        gap: 20px;
        box-sizing: border-box;
        position: absolute;
        top: 25vh;
    }

    .count-particles {
        height: 95vh;
    }

    #particles-js {
        height: 95vh;
        background-color: #0088F9;
    }
}