@charset "UTF-8";

/* =========================================================
   p-top.css
   TOPページ専用スタイル
========================================================= */

body {
    min-height: 100vh;
}


/* =========================================================
   1. Main Visual
========================================================= */

.main-visual {
    width: 100%;
    background-color: #f2f2f2;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(250, 255, 229, 1.0), transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(230, 240, 255, 1.0), transparent 50%);
    background-size: 120% 120%;
    animation: bgGradientMove 10s ease infinite alternate;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding-top: 40px;
    padding-bottom: 40px;

    position: relative;
    overflow: hidden;
}

.side-circle-text {
    position: absolute;
    top: 80%;
    left: 15px;
    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
}

.circle-arrow {
    position: absolute;
    font-size: 1.2rem;
    font-weight: bold;
}

.circle-svg {
    width: 100%;
    height: 100%;
    animation: rotateCircle 15s linear infinite;
    overflow: visible;
}

.circle-svg text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    fill: rgba(51, 51, 51, 0.9);
    letter-spacing: 3px;
}

.main-visual-text {
    width: 90%;
    margin-left: 5%;
    z-index: 10;
}

.mv-school-name {
    opacity: 0;
    animation: slideInLeft 1.0s ease-out 0.4s forwards;
}

.mv-school-name h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 15px;
    letter-spacing: 0.1rem;
    font-weight: 700;
}

.mv-school-name h1 span {
    font-size: 3.5rem;
    font-weight: 700;
    margin-right: 1rem;
    display: inline-block;
}

.mv-school-name .i-position {
    margin-left: 0.5rem;
}

.catch-copy {
    opacity: 0;
    animation: slideInLeft 1.0s ease-out 0.8s forwards;
}

.catch-copy p {
    font-size: 1.8rem;
    color: #427BBF;
    font-weight: bold;
    line-height: 2;
    overflow: hidden;
}

.catch-copy p span {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);

    animation-name: slideInLeft;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.catch-copy p span::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 10px;
    background: linear-gradient(transparent 50%, rgba(223, 255, 79, 0.7) 50%);
    z-index: -1;

    animation-name: drawLine;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.catch-copy p span.line-1 {
    animation-delay: 0.8s;
}

.catch-copy p span.line-1::after {
    animation-delay: 1.6s;
}

.catch-copy p span.line-2 {
    animation-delay: 1.2s;
}

.catch-copy p span.line-2::after {
    animation-delay: 2.0s;
}

.main-visual-area {
    width: 100%;
    margin-top: 20px;

    display: flex;
    justify-content: center;
}

.persons-set {
    position: relative;
    width: 90%;
    line-height: 0;
}

.main-visual-persons {
    width: 90%;
    height: auto;
    position: relative;
    z-index: 5;

    opacity: 0;
    animation: poyoyon2 1.5s ease-in-out 1.2s forwards;
    transform-origin: bottom center;
}

.ground-line {
    position: absolute;
    bottom: 20%;
    width: 140%;
    height: 1px;
    background: #333333;
    z-index: 4;
}

#mv-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 900px) {
    .main-visual {
        background:
            radial-gradient(circle at 90% 10%, rgba(250, 255, 229, 0.4), transparent 60%),
            radial-gradient(circle at 10% 20%, rgba(230, 240, 255, 0.9), transparent 60%);

        height: calc(100vh - 80px);
        min-height: 600px;

        flex-direction: row;
        align-items: center;

        padding-top: 60px;
        padding-bottom: 0;
    }

    .side-circle-text {
        top: 80%;
        left: 30px;
        width: 100px;
        height: 100px;
    }

    .circle-svg text {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .main-visual-text {
        padding-left: 5%;
        margin-bottom: 15vh;
        flex: 1;
    }

    .mv-school-name h1 {
        font-size: 5rem;
        line-height: 1.1;
    }

    .mv-school-name h1 span {
        font-size: 6rem;
    }

    .mv-school-name .i-position {
        margin-left: 0.9rem;
    }

    .catch-copy p {
        font-size: 3rem;
        padding-top: 30px;
    }

    .catch-copy p span::after {
        bottom: 10px;
        height: 20px;
    }

    .main-visual-area {
        position: absolute;
        right: 0;
        bottom: 0;

        width: 50%;
        height: 100%;

        margin-top: 0;
        justify-content: flex-end;
    }

    .main-visual-persons {
        position: absolute;
        bottom: 0;
        right: 5%;
        width: 100%;
    }

    .ground-line {
        bottom: 90px;
        width: 100%;
        right: 0;
        height: 2px;
    }

    #mv-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        min-height: 500px;
    }
}


/* =========================================================
   Section Titles
========================================================= */

.pickup-title,
.info-title,
.department-title,
.select-title {
    color: #427BBF;
    text-align: center;
    margin-bottom: 20px;
}

.pickup-title {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    margin: 60px 20px 20px;
    font-weight: bold;
}


/* =========================================================
   2. Pickup
========================================================= */

.pickup-info-section {
    width: 90%;
    margin: 0 auto;
}

.pickup-slider {
    position: relative;
    padding-bottom: 50px;
    overflow: visible;
}

.pickup-item-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.pickup-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666666;
}

@media (min-width: 900px) {
    .pickup-info-section {
        margin: 200px auto;
    }

    .pickup-item-title {
        font-size: 2.4rem;
    }

    .pickup-description {
        font-size: 1.4rem;
    }
}


/* =========================================================
   3. News / Event
========================================================= */

.news-event-section {
    background-color: #EBF7F9;
    padding: 80px 0;
    margin: 100px auto;
    width: 100%;
}

.news-event-set {
    width: 85%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 50px;

    position: relative;
}

.info-item {
    margin: 20px;
}

.info-item div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.info-item time {
    display: block;
    color: #888888;
    margin-bottom: 5px;
}

.info-item p {
    color: #333333;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .news-event-section {
        width: 100%;
        margin: 200px 0;
    }

    .news-event-set {
        flex-direction: row;
        justify-content: space-between;
    }

    .info-colum {
        width: 40%;
    }

    .info-item {
        margin: 30px 60px;
    }

    .info-item time {
        font-size: 1rem;
    }

    .news-event-set::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50px;
        bottom: 0;
        width: 1px;
        background-color: #cccccc;
    }
}


/* =========================================================
   4. School Features
========================================================= */

.school-features-section {
    width: 100%;
    margin: 80px 0;
}

.school-features-inner {
    width: 90%;
    margin: 0 auto;

    background-color: #333333;
    border-radius: 1rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.school-feature-img img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.school-feature-set {
    padding: 30px 20px;
    color: #ffffff;
    position: relative;

    display: flex;
    flex-direction: column;
}

.school-feature-title {
    margin-bottom: 10px;
}

.school-feature-text {
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (min-width: 900px) {
    .school-features-section {
        margin: 200px 0;
    }

    .school-features-inner {
        margin-left: 0;
        margin-right: auto;
        flex-direction: row;
        width: 75%;
        border-radius: 0 30px 30px 0;
        display: flex;
    }

    .school-feature-img,
    .school-feature-set {
        width: 50%;
    }
}


/* =========================================================
   5. Department
========================================================= */

.department-section {
    width: 100%;
    margin: 80px 0;
}

.department-set {
    width: 100%;
    margin: 0 auto;
}

.department-intro {
    margin-bottom: 30px;
}

.department-intro h3 {
    margin: 10px 0;
    text-align: center;
}

.department-intro p {
    text-align: center;
}

.course-bar {
    display: flex;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
}

.course-bar-mobile {
    display: block;
    background-color: #D8F0F3;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #F0F9F9;
    box-sizing: border-box;
}

.bar-sys {
    background-color: #D9E4F2;
    width: 100%;
}

.bar-proc {
    display: none;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 80px 20px;

    color: #ffffff;
    box-sizing: border-box;
}

.course-header {
    margin-bottom: 20px;
    font-weight: bold;
}

.course-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-explanation {
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 3em;
    flex-wrap: nowrap;
}

.course-btn {
    position: absolute;
    background-color: #DFFF4F;
    color: #333333;
    font-weight: bold;

    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    bottom: 20px;
    right: 30px;
}

.card-01 {
    background-color: #6795CB;
}

.card-02 {
    background-color: #427BBF;
}

.card-03 {
    background-color: #65C2CD;
}

.card-04 {
    background-color: #3EB3C1;
}

.card-05 {
    background-color: #328F9A;
}

@media (min-width: 900px) {
    .course-bar-mobile {
        display: none;
    }

    .bar-proc {
        display: block;
        width: 60%;
        background-color: #D8F0F3;
    }

    .bar-sys {
        width: 40%;
    }

    .course-list {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .course-card {
        flex: 1;
    }
}

@media (min-width: 1150px) {
    .department-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .course-bar {
        width: 100%;
        display: flex;
    }

    .course-list {
        flex-direction: row;
        align-items: stretch;
    }

    .course-card {
        flex: 1;
        padding: 60px 10px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .card-05 {
        border-right: none;
    }
}


/* =========================================================
   6. Advanced
========================================================= */

.advanced-section {
    width: 100%;
}

.advanced-intro {
    text-align: center;
    margin: 40px 0;
}

.advanced-card {
    display: flex;
    flex-direction: column;

    width: 100%;

    background-color: #151F41;
    color: #ffffff;

    position: relative;

    padding: 100px 20px;
    text-align: center;
}

.advanced-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 40px auto 30px;
}

.advanced-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advanced-card-body {
    width: 100%;
}

.advanced-card-body h4 {
    margin: 20px 0 30px;
}

.advanced-btn {
    position: absolute;

    background-color: #DFFF4F;
    color: #333333;

    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    bottom: 20px;
    right: 30px;
}

@media (min-width: 900px) {
    .advanced-section {
        margin-top: 100px;
        width: 100%;
    }

    .advanced-card {
        display: block;
        padding: 0;
        width: 100%;
        background-color: #151F41;
    }

    .advanced-inner {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        margin: 0;
    }

    .advanced-img {
        width: 50%;
        height: 500px;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .advanced-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .advanced-card-body {
        width: 50%;
        padding: 60px 8%;

        display: flex;
        flex-direction: column;
        justify-content: center;

        position: relative;
    }

    .advanced-btn {
        margin: 40px 0 20px 30px;
        font-weight: bold;
    }
}


/* =========================================================
   7. Career
========================================================= */

.career-section {
    width: 100%;
    margin: 300px 0 0;
}

.career-inner {
    width: 90%;
    margin: 0 auto;

    background-color: #71C7D1;
    color: #ffffff;

    border-radius: 1rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: auto;
}

.career-img {
    width: 100%;
}

.career-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.career-set {
    width: 100%;
    padding: 40px 20px;

    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.career-title {
    margin-bottom: 10px;
}

.career-text {
    margin-bottom: 30px;
}

@media (min-width: 900px) {
    .career-inner {
        margin-right: 0;
        margin-left: auto;
        flex-direction: row;
        min-height: 400px;
        width: 75%;
        border-radius: 30px 0 0 30px;
        display: flex;
    }

    .career-img,
    .career-set {
        width: 50%;
    }

    .career-img img {
        height: 100%;
    }
}


/* =========================================================
   8. Admissions Guide
========================================================= */

.admissions-guide-section {
    width: 100%;
    margin: 80px 0;
}

.admissions-guide-inner {
    width: 90%;
    margin: 0 auto;

    background-color: #F4FFC2;

    border-radius: 1rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: auto;
}

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

.admissions-guide-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.admissions-guide-set {
    width: 100%;
    padding: 40px 20px;

    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.admissions-guide-title {
    margin-bottom: 10px;
}

.admission-guide-text {
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (min-width: 900px) {
    .admissions-guide-inner {
        margin-left: 0;
        margin-right: auto;
        flex-direction: row-reverse;
        min-height: 400px;
        width: 75%;
        border-radius: 0 30px 30px 0;
        display: flex;
    }

    .admissions-guide-img,
    .admissions-guide-set {
        width: 50%;
    }

    .admissions-guide-img img {
        height: 100%;
    }
}


/* =========================================================
   9. Select
========================================================= */

.select-section {
    width: 100%;
    height: auto;
    position: relative;

    padding-bottom: 20px;
    margin-bottom: 50px;
}

.select-set {
    width: 100%;
    height: auto;
    text-align: center;
}

.select-intro {
    text-align: center;
}

.select-title-text {
    margin-bottom: 50px;
}

.select-img-set {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.select-img {
    position: relative;
    width: 40%;
    z-index: 20;
    margin: 10px;
    overflow: visible;
    display: flex;
}

.select-text {
    position: absolute;
    z-index: 2;

    color: #ffffff;

    top: 15%;
    left: 10%;

    text-align: left;
    font-weight: bold;

    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 900px) {
    .select-section {
        margin: 200px 0;
    }

    .select-img {
        width: 22%;
    }
}