@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;
                                    }

                                }
                            }
}

#container {
    margin-top: 27rem;

    @media screen and (max-width: 767px) {
      margin-top: 0;
    }
}

.mv-box {
    width: 154.2rem;
    margin: 0 auto;

    & h1 {
        position: absolute;
    bottom: 3.6rem;
    left: 6rem;
    font-size: 6.6rem;
    color: var(--primary-color);
    line-height: 1.5;
    font-family: "Zen Kaku Gothic New", sans-serif;

    @media screen and (max-width: 767px) {
      font-size: 2.8rem;
      line-height: 1.3;
      bottom: auto;
      left: 0;
      top: 3rem;
    }
    }

    @media screen and (max-width: 767px) {
     width: 100%;
      margin-bottom: 7rem;
    }

    & img {
        width: 100%;
    }
}

.sec-news {
    padding-bottom: 9rem;
}

.sec-procedure {
    background-color: #f8f8f8;
    padding: 9rem 0;

    @media screen and (max-width: 767px) {
      padding: 6rem 0;
    }

    .content-box {

        .portal-list{
            display: flex;
            gap: 2rem;

            @media screen and (max-width: 767px) {
              flex-direction: column;
            }

            .portal-item{
                flex: 1;
                border-radius: 10px;
                position: relative;

                &::after {
                    content: '';
                    position: absolute;
                    width: 22px;
                    height: 22px;
                    right: 1rem;
                    bottom: 1rem;
                    background-size: contain;
                    background-repeat: no-repeat;
                }

                &.type-blue {
                    border: 4px solid var(--primary-color);

                    &::after {
                        background-image: url(../../img/jimu/portal_blue_arrow.svg);
                    }
                }
                &.type-green {
                    border: 4px solid var(--light-green-color);

                    &::after {
                        background-image: url(../../img/jimu/portal_green_arrow.svg);
                    }
                }
                &.type-purple {
                    border: 4px solid var(--purple-color);

                    &::after {
                        background-image: url(../../img/jimu/portal_purple_arrow.svg);
                    }
                }

                & a {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 2rem;
                    padding: 3rem 0;
                }
            
                .portal-link{
                
                    .title-box{
                        font-size: 2.8rem;
                        font-weight: bold;
                    
                    }
                    .img-box{
                    
                    }
                    .text-box{
                        line-height: 1.5;
                        text-align: center;
                    }
                }
            }
    }

    }
}