@charset "UTF-8";

.nav-content-top-title {

    & a {
                                position: relative;

                                &[target="_blank"]::after {
                                    position: absolute;
                                    content: '';
                                    top: 0;
                                    right: -3rem;
                                    width: 2.5rem;
                                    height: 2.5rem;
                                    background-size: contain;
                                    background-repeat: no-repeat;
                                    background-image: url(../../../common/img/icon_external_arrow.svg);

                                    @media screen and (max-width: 767px) {
                                      width: 2rem;
                                      height: 2rem;
                                      top: 40%;
                                      right: -2rem;
                                    }

                                }
                            }
}

.sec-jimu-foundation {

    .inner {
        display: flex;
        flex-direction: column;
        gap: 9rem;

        @media screen and (max-width: 767px) {
          gap: 6rem;
        }

        & a {
            height: 7.5rem;
            border-radius: 60px;
            padding-left: 4.5rem;
            padding-right: 2.5rem;

            @media screen and (max-width: 767px) {
              height: 5rem;
              border-radius: 30px;
              line-height: 1.5;
            }
        }

        .scholarship-box {

            & h3 {
                margin-bottom: 2rem;
            }

            .sc-item {

                &:not(:last-child) {
                    margin-bottom: 4rem;
                }

                .common-blue-title {
                    margin-bottom: 2rem;
                }

                .item-details {

                    & p {

                    }

                    .buttons-box {
                        margin-top: 3rem;
                        display: grid;
                        grid-template-columns: repeat(2, 1fr);
                        grid-column-gap: 5.4rem;
                        grid-row-gap: 2rem;

                        @media screen and (max-width: 767px) {
                          grid-template-columns: 1fr;
                        }

                        & a {
                            width: 100%;
                        }

                    }
                }

                .sc-list {
                    display: flex;
                    flex-direction: column;
                    gap: 4rem;
                    margin-top: 3rem;

                    .sc-detail {

                        .sc-cat {
                            color: var(--primary-color);
                            font-size: 2rem;
                            font-weight: bold;

                            @media screen and (max-width: 767px) {
                              line-height: 1.4;
                            }
                        }

                        .buttons-box {
                            margin-top: 2rem;
                        }
                    }
                }
            }
        }

        .contact-box {

            & h3 {
                margin-bottom: 2rem;
            }

            & a {
                margin-top: 3rem;
                width: 38rem;

                @media screen and (max-width: 767px) {
                  width: 100%;
                }
            }
        }
    }
}