@charset "utf-8";

/* --------------------------------------------------------
* 全体設定
* -------------------------------------------------------*/
.p-ir {
    padding-top: 60px;
}

.p-ir__header {
    padding-block:50px;background-color: #f0f2f6;
    background-color: var(--bg-gray);
    text-align: center;
}

.p-ir__header-txt {
    font-size: clamp(1.25rem,1.0416666667rem + .8888888889vw,1.875rem);
    line-height: 1;
}

.p-ir-contents {
    margin-block:40px;
}

.p-ir-pagination {
    margin-top: 40px;
}

.p-ir-nav__top-menu {
    margin-bottom: 50px;
    
    & ul {
        display: flex;
        justify-content: space-around;
        gap: 20px;

        & li {
            width: 100%;
            text-align: center;
            
            & a {
                position: relative;
                padding-right: 30px;                
                color: #00409b;
                color: var(--blue-color);
                
                &::after {
                    display: block;
                    position: absolute;
                    top: 50%;
                    right: 0;
                    width: 20px;
                    height: 20px;
                    transform: translateY(-50%);
                    background: url(https://nsg-inc.co.jp/wp-content/themes/nsg-inc/img/ico_right-arrow-blue.png) no-repeat center / 20px;
                    content: "";
                }
                
                &[target="_blank"] {
                    &::after {
                        width: 16px;
                        height: 16px;
                        background: url(https://nsg-inc.co.jp/wp-content/themes/nsg-inc/img/ico_external-link.png) no-repeat center / 16px;
                    }
                }
            }
        }
    }

}
.p-ir-nav__bottom-menu {
    margin-top: 50px;
    
    & ul {
        display: flex;
        flex-wrap: wrap;
        background-color: #f0f2f6;
        background-color: var(--bg-gray);
        
      & li {
          width: 20%;
          border: 2px solid #fff;
          
          & a {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 100%;
                color: #00409b;
                color: var(--blue-color);
                padding: 5px;
                transition: all .2s ease-in;
          }
      }  
    }
}

.p-ir-container {
    font-size: clamp(.875rem, .8333333333rem + .1777777778vw, 1rem);
    
    & p + p {
        margin-top: 30px;
    }
}

.p-ir-container__link-txt {
    color: #00409b;
    color: var(--blue-color);
    text-decoration: underline;
}
.p-ir-container__link-txt[target="_blank"] {
    position: relative;
    padding-right: 20px;
    
    &::after {
        display: block;
        position: absolute;
        bottom: -8px;
        right: 0;
        transform: translateY(-50%);
        content: "";
        width: 16px;
        height: 16px;
        background: url(https://nsg-inc.co.jp/wp-content/themes/nsg-inc/img/ico_external-link.png) no-repeat center / 16px;
    }

}

@media screen and (min-width: 768px) {
    .p-ir__header {
        padding-block: 85px;
    }
    .p-ir {
        padding-top: 80px;
    }
    .p-ir-pagination {
        margin-top: 50px;
    }

    .p-ir-nav__top-menu {
        & ul {
            & li {
                & a {
                    &:hover {
                        opacity: .6;
                    }
                }
            }
        }
    }
    .p-ir-nav__bottom-menu {
        & ul {
            & li {
                & a {
                    &:hover {
                        opacity: .6;
                    }
                }
            }
        }
    }
}


@media screen and (max-width: 767px) {
    .p-ir-nav__top-menu {

        & ul {
            flex-wrap: wrap;
            
            & li {                    
                width: 100%;

                &:nth-child(n+2) {

                }
                
                & a {

                }
            }
        }
    }
    .p-ir-nav__bottom-menu {
        & ul {
            
            & li {
                width: 100%;
                
                & a {
                }
            }
        }
    }
}



/* --------------------------------------------------------
* IR情報
* -------------------------------------------------------*/
.p-ir__irtop-img {

}
.p-ir__irtop-title {
    
}
.p-ir__irtop-title-eng {
    display: block;
    color: #00409b;
    color: var(--blue-color);
    font-weight: 200;
    font-size: 1.875rem;
    line-height: 43px;
    font-family: Poppins, serif;
    font-family: var(--poppins-font-family);
}
.p-ir__irtop-title-txt {
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
    line-height: 1;
}
.p-ir__irtop-button {
    display: flex;
    justify-content: flex-end;
}
.p-ir__irtop-button2 {
    & .c-button {
        background-color: #fff;
    }
}
.p-ir__irtop-list {
    & ul {
        & li {
            width: 100%;
            border-bottom: 1px solid #CCC;
            
            & a {
                position: relative;              
                color: #00409b;
                color: var(--blue-color);
                width: 100%;
                display: block;
                padding: 10px 40px 10px 10px;
                
                &::after {
                    display: block;
                    position: absolute;
                    top: 50%;
                    right: 10px;
                    width: 20px;
                    height: 20px;
                    transform: translateY(-50%);
                    background: url(https://nsg-inc.co.jp/wp-content/themes/nsg-inc/img/ico_right-arrow-blue.png) no-repeat center / 20px;
                    content: "";
                }
                
                &[target="_blank"] {
                    &::after {
                        width: 16px;
                        height: 16px;
                        background: url(https://nsg-inc.co.jp/wp-content/themes/nsg-inc/img/ico_external-link.png) no-repeat center / 16px;
                    }
                }
            }
        }
    }
}

.p-ir__irtop-message {
    padding: 100px 0;
}
.p-ir__irtop-message-wrap {
    display: flex;
}
.p-ir__irtop-message-contents {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 60px;
}
.p-ir__irtop-message-img {
    width: 50%;
}


.p-ir__irtop-news {
    background: #f0f2f6;
    padding: 100px 0;
}
.p-ir__irtop-news-contents {
    padding: 50px 0;
}


.p-ir__irtop-middle {
    padding: 100px 0;
}
.p-ir__irtop-middle-wrap {
    display: flex;
    justify-content: space-between;
}
.p-ir__irtop-middle-block {
    width: 30%;
}
.p-ir__irtop-middle-title {
    margin: 30px 0;
}
.p-ir__irtop-middle-list {
    
}


.p-ir__irtop-stock {
    
}
.p-ir__irtop-stock-wrap {
    display: flex;
    background: #f0f2f6;
    padding: 50px;
    border-radius: 20px;
}
.p-ir__irtop-stock-img {
    width: 40%;
}
.p-ir__irtop-stock-contents {
    width: 60%;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}



.p-ir__irtop-bottom {
    padding: 100px 0;
}
.p-ir__irtop-bottom-menu {
    margin: 0;
}


@media screen and (min-width: 768px) {
    .p-ir__irtop-list {
        & ul {
            & li {
                & a {
                    &:hover {
                        opacity: .5;
                    }
                }
            }
        }
    }
    .p-ir__irtop-stock-list {
        & ul {
            & li {
                & a {
                    font-size: 1.2rem;
                    &::after {
                        width: 26px;
                        height: 26px;
                        background-size: 26px;
                    }
                    &[target="_blank"] {
                        &::after {
                            width: 20px;
                            height: 20px;
                            background-size: 20px;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    
    .p-ir__irtop-button {
        justify-content: center;
    }
    .p-ir__irtop-message {
        padding: 50px 0;
    }
    .p-ir__irtop-message-wrap {
        flex-wrap: wrap;
    }
    .p-ir__irtop-message-contents {
        width: 100%;
        padding-right: 0;

        & .p-ir__irtop-button {
            margin-top: 30px;
        }
    }
    .p-ir__irtop-message-img {
        margin-top: 30px;
        width: 100%;
    }

    .p-ir__irtop-news {
        padding: 50px 0;
    }
    .p-ir__irtop-news-contents {
        padding: 30px 0;
    }

    .p-ir__irtop-middle {
        padding: 50px 0;
    }
    .p-ir__irtop-middle-wrap {
        flex-wrap: wrap;
    }
    .p-ir__irtop-middle-block {
        width: 100%;
    }
    .p-ir__irtop-middle-block + .p-ir__irtop-middle-block {
        margin-top: 30px;
    }

    .p-ir__irtop-stock-wrap {
        padding: 30px;
        flex-wrap: wrap;
    }
    .p-ir__irtop-stock-img {
        width: 100%;
    }
    .p-ir__irtop-stock-contents {
        width: 100%;
        padding: 0;
        margin-top: 30px;
    }
    .p-ir__irtop-stock-list {
        margin-top: 30px;
    }

    .p-ir__irtop-bottom {
        padding: 30px 0;
    }
}



/* --------------------------------------------------------
* 株主･投資家の皆様へ
* -------------------------------------------------------*/
.p-ir-container__message {
    display: flex;
    gap: 50px;
}
.p-ir-container__message-img {
    min-width: 250px;
    width: 250px;
}
.p-ir-container__message-txt {
    width: 100%;
}
.p-ir-container__message-txt-right {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .p-ir-container__message {
        flex-wrap: wrap;
    }
    .p-ir-container__message-img {
        width: 100%;
        display: flex;
        justify-content: center;

        & img {
            max-width: 250px;
        }
    }
}

/* --------------------------------------------------------
* よくあるご質問
* -------------------------------------------------------*/
.p-ir-container__governance-img {
    margin-top: 30px;
}



/* --------------------------------------------------------
* 株式情報
* -------------------------------------------------------*/
.p-ir-container__overview {
    & .c-title__h2 {
        margin: 30px 0;

    }
}
.p-ir-container__overview-table {
    margin-bottom: 70px;
    
    & table {
        width: 100%;
        & th {
            background: #f0f2f6;
        }
        & th,
        & td {
            border: 1px solid #00409b;
            padding: 5px;
            word-break: break-all;
        }
    }
}
.p-ir-table-shareholder {
    & table {
        & th:first-child {
            width: 50%;
        }
        & th:nth-child(2) {
           width: 30%; 
        }
        & thead {
            & th {
              text-align: center;  
            }
        }
        & td {
            text-align: right;
        }
    }
}
.p-ir-table-stock {
    
}
.p-ir-table-memo {
    
}



/* --------------------------------------------------------
* よくあるご質問
* -------------------------------------------------------*/
.p-ir-container__faq-block {
    &:nth-child(n+2) {
        margin-top: 33px;
    }
}
.p-ir-container__faq-q-txt {
    
}
.p-ir-container__faq-a-txt {
    
}
.p-ir-container__faq-q-txt{
    font-size: clamp(1.125rem,1.0833333333rem + .1777777778vw,1.25rem);
    font-weight: 700;
    padding-left: 40px;
    position: relative;

    &::before {
        content: 'Q.';
        display: inline-block;
        position: absolute;
        left: 0;
        color: #999999;
    }
}
.p-ir-container__faq-a-txt {
    margin-top: 5px;
    padding-left: 40px;
    position: relative;

    &::before {
        content: 'A.';
        display: inline-block;
        font-size: clamp(1.125rem,1.0833333333rem + .1777777778vw,1.25rem);
        font-weight: 700;
        position: absolute;
        left: 0;
        margin-top: -5px;
        color: #00409b;
    }
}
@media screen and (min-width: 768px) {
    .p-ir-container__faq-block {
        &:nth-child(n+2) {
            margin-top: 42px;
        }
    }
}


/* --------------------------------------------------------
* IRお問い合わせ
* -------------------------------------------------------*/
.p-ir-container__contact-ul {
    text-decoration: underline;
}

