@charset "UTF-8";

/*============================
 ni-search
============================*/
.ni-conttents {
    .inner__large {
        max-width: 1800px;
    }
}

.ni-search {
    padding: 60px 0;
}

.nis__cats {
    width: 70%;
}

.nis__form {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.nis__ul li {
    width: 19%;
    margin: 0 1% 15px 0;
    background: #2C98BF;
    color: #fff;
    text-align: center;

    &:hover {
        background-color: #CCE6EF;
        color: #111;
    }
}
.nis__ul li.current {
    background-color: #CCE6EF;
    color: #111;
}

.nis__ul li a{
  display: block;
  width: 100%;
  color: inherit;
  padding: 0 .5em;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0;
  cursor: pointer;
  transition: .3s;

}


.nis__box {
    padding: 20px;
    background: #DCDDDD;
    min-height: 155px;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 15px;
}

.nis__input {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 1em;
    margin-bottom: 15px;
}

.nis__btn {
    width: 140px;
    background: #2C98BF;
    margin: 0 auto;
    border: none;
    font-size: 2.4rem;
}

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


    .ni-search {
        padding: 40px 0;
    }

    .nis__cats {
        width: 70%;
    }

    .nis__form {
        width: 30%;
    }

    .nis__ul li {
        width: 19%;
        margin: 0 1% 10px 0;
        padding: 0 .5em;
        height: 60px;
    }

    .nis__box {
        padding: 15px;
        min-height: 130px;
    }

    .nis__input {
        height: 40px;
        line-height: 40px;
        padding: 0 1em;
        margin-bottom: 10px;
    }

    .nis__btn {
        width: 120px;
        font-size: 2rem;
    }
}

@media screen and (max-width:767px) {
    .ni-search {
        padding: 40px 0;
    }

    .nis__cats {
        width: 100%;
        margin-bottom: 20px;
    }

    .nis__form {
        width: 100%;
    }

    .nis__ul {
        display: flex;
        justify-content: space-between;
    }

    .nis__ul li {
        width: 48%;
        margin: 0 0 10px;
        padding: 0 .5em;
        height: 50px;
    }

    .nis__box {
        padding: 20px 5%;
        min-height: auto;
        width: 112%;
        margin-left: -6%;
    }

    .nis__input {
        height: 40px;
        line-height: 40px;
        padding: 0 1em;
        margin-bottom: 10px;
    }

    .nis__btn {
        width: 120px;
        font-size: 1.6rem;
        line-height: 35px;
    }
}

/*============================
 ni-swarea
============================*/
.ni-swarea {
    padding: 60px 0 120px;
    background-color: #9BCEE0;
}

.ni__swiper {
    max-width: 1700px;
}

.ni__atc {
    margin: 0 -50px;
    width: 440px;
    background: #2C98BF;
    background: #56ACCB;
    transform: scale(.8);
    transition: .3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);

    & a {
        display: block;
        width: 100%;
        height: 100%;
        background: #2C98BF;
        background: #56ACCB;
        opacity: .5;
        transition: .3s;
        pointer-events: none;
    }

    &.swiper-slide-active {
        opacity: 1;
        z-index: 9;
        transform: scale(1);

        & a {
            opacity: 1;
            pointer-events: fill;
        }
    }

    &.swiper-slide-next,
    &.swiper-slide-prev {
        z-index: 5;
        transform: scale(.9);
    }

    &.swiper-slide-next a,
    &.swiper-slide-prev a {
        opacity: .8;
    }
}

.nisw__cat {
    text-align: center;
    color: #fff;
    font-weight: bold;
    background-color: #18567C;
    line-height: 65px;
    white-space: nowrap;
    letter-spacing: 0;
}

.nisw__inner {
    margin: 20px;
    color: #fff;
}
.nisw__img img{
  width: 100%;
  aspect-ratio: 400 / 299;
  object-fit: cover;
}

.nisw__date {
    font-weight: bold;
    margin: 1em 0 .25em;
}

.nisw__tags {
    margin-bottom: 1em;
    flex-wrap: wrap;
    gap: .5em 1em;
}

.nisw__tags li {
    padding: 0 1em;
    background: #fff;
    color: #2C98BF;
    font-weight: bold;
    margin-right: 0;
    white-space: nowrap;
}

.nisw__h3 {
    font-weight: bold;
}

.ni-swiper-button-prev {
    position: absolute;
    margin: 0;
    left: 0 !important;
    top: 50% !important;
    transform: translate(0, -50%);
    width: 65px;
    height: 65px;

    z-index: 99;
}

.ni-swiper-button-next {
    position: absolute;
    right: 0 !important;
    top: 50% !important;
    transform: translate(0, -50%);
    margin: 0;
    width: 65px;
    height: 65px;
    z-index: 99;

}

.ni-swiper-button-prev::before {
    content: "";
    position: absolute;
    background: url(../img/newitem/sw_arw_prv.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.ni-swiper-button-next::before {
    content: "";
    position: absolute;
    background: url(../img/newitem/sw_arw_next.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.swiper-button-disabled {
    opacity: .5;
    pointer-events: none;

}

.ni-swarea .ni-swiper-pagination {
    position: absolute;
    left: 50% !important;
    bottom: -50px;
    z-index: 99;
    display: flex;
    width: fit-content;
    transform: translate(-50%);
}

.ni-swarea .swiper-pagination-bullet {
    width: 100px;
    height: 10px;
    background: #fff;
    z-index: 99;
    border-radius: 0% !important;
    margin: 0 5px !important;
    opacity: 1;
}

.ni-swarea .swiper-pagination-bullet:last-child {
    margin-bottom: 0 !important;
}

.ni-swarea .swiper-pagination-bullet-active {
    opacity: 1;
    background: #18567C;
}

@media screen and (max-width:1024px) {
    .ni-swarea {
        padding: 60px 0 80px;
    }

    .ni__swiper {
        overflow: visible;
    }

    .ni__atc {
        margin: 0 -30px;
        width: 250px;

    }

    .nisw__cat {
        line-height: 36px;
    }

    .nisw__inner {
        margin: 15px;
    }

    .nisw__date {
        margin: 1em 0 .25em;
    }

    .nisw__tags {
        margin-bottom: 1em;
        white-space: nowrap;
        flex-wrap: wrap;
    }

    .nisw__tags li {
        padding: 0 1em;
        font-size: 1.2rem;
    }

    .ni-swiper-button-prev {
        left: 0 !important;
        top: 50% !important;
        width: 50px;
        height: 50px;
    }

    .ni-swiper-button-next {
        right: 0 !important;
        top: 50% !important;
        width: 50px;
        height: 50px;

    }

    .ni-swarea .ni-swiper-pagination {
        left: 50% !important;
        bottom: -40px;
    }

    .ni-swarea .swiper-pagination-bullet {
        width: 80px;
        height: 8px;
        margin: 0 5px !important;
    }

}

@media screen and (max-width:767px) {
    .ni-swarea {
        padding: 60px 0 80px;
    }


    .ni__atc {
        margin: 0 -30px;
        width: 300px;

    }

    .nisw__cat {
        line-height: 50px;
    }

    .nisw__inner {
        margin: 15px;
    }

    .nisw__date {
        font-size: 1.4rem;
        margin: 1em 0 1em;
    }

    .nisw__tags {
        display: flex;
        margin-bottom: 1em;
    }

    .nisw__tags li {
        padding: 0 1em;
        font-size: 1.2rem;
    }

    .ni-swiper-button-prev {
        left: -5% !important;
        top: 50% !important;
        width: 35px;
        height: 35px;
    }

    .ni-swiper-button-next {
        right: -5% !important;
        top: 50% !important;
        width: 35px;
        height: 35px;

    }

    .ni-swarea .ni-swiper-pagination {
        left: 50% !important;
        bottom: -40px;
    }

    .ni-swarea .swiper-pagination-bullet {
        width: 45px;
        height: 5px;
        margin: 0 5px !important;
    }

}   


/*============================
 ni-result
============================*/
.ni-result {
    padding: 60px 0;
    background: #CCE6EF;
}

.nir__items {
    width: 102%;
    margin-left: -1%;
}

.nir__atc {
    width: 19%;
    min-width: 300px;
    margin: 0 .5% 15px;


    & a {
        display: block;
        width: 100%;
        height: 100%;
        background: #fff;
        padding: 15px;
    }
}

.nir__atc img{
    width: 100%;
    aspect-ratio: 318 / 239;
    object-fit: cover;
  }

.nir__date {
    padding-top: .5em;
    margin: .5em 0;
    color: #8A8F92;
    border-top: solid 1px #B1B4B6;
    font-weight: bold;
}

.nir__tags {
    margin-bottom: 1em;
    flex-wrap: wrap;
}

.nir__tags li {
    padding: 0 1em;
    background: #2C98BF;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    margin: 0 .5em .5em 0;
    font-size: 1.5rem;
}

@media screen and (max-width:1024px) {
    .ni-result {
        padding: 60px 0;
    }

    .nir__items {
        width: 102%;
        margin-left: -1%;
    }

    .nir__atc {
        width: 32%;
        min-width: 200px;
        margin: 0 .66% 15px;

        & a {
            padding: 15px;
        }
    }

    .nir__date {
        padding-top: .5em;
        margin: .5em 0;
    }

    .nir__tags {
        margin-bottom: 1em;
    }

    .nir__tags li {
        padding: 0 .5em;
        margin: 0 .5em .5em 0;
        font-size: 1.2rem;
    }

}

@media screen and (max-width:767px) {
    .ni-result {
        padding: 60px 0;
    }

    .nir__items {
        width: 100%;
        margin-left: 0;
        display: flex;
        justify-content: space-between;
    }

    .nir__atc {
        width: 49%;
        min-width: auto;
        margin: 0 0 10px;

        & a {
            padding: 10px;
        }
    }

    .nir__date {
        padding-top: .5em;
        margin: .5em 0;
        font-size: 1rem;
    }

    .nir__tags {
        display: flex;
        margin-bottom: 0;
    }

    .nir__tags li {
        padding: 0 .5em;
        margin: 0 .5em .5em 0;
        font-size: 1rem;
    }

    .nisw__h3 {
        font-size: 1rem;
    }

}


/*============================
 ni-detail 
============================*/
.ni-detail {
    padding: 40px 0 120px;
}

.nid__ttl {
    width: fit-content;
    margin: 0 auto 60px;
    padding: 0 1em .5em;
    border-bottom: solid 8px #2C98BF;

}

.nid__img--main {
    max-width: 520px;
    margin: 0 auto 10px;
}

.nid__txt span {
    font-weight: bold;
    color: #2C98BF;
}

.nid__img {
    max-width: 800px;
    margin: 0 auto 80px;

    & figcaption {
        margin-top: 1em;
        line-height: 1.4;
    }
}

.nid__box {
    padding: 50px 60px;
    background: #CCE6EF;
    position: relative;


    &::before {
        content: "";
        position: absolute;
        width: 60px;
        height: 60px;
        background-color: #072056;
        top: -10px;
        right: -10px;
        z-index: -1;
    }

    &::after {
        content: "";
        position: absolute;
        width: 60px;
        height: 60px;
        background-color: #072056;
        bottom: -10px;
        left: -10px;
        z-index: -1;
    }
}

.nid__box--ttl {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        width: 45px;
        height: 10px;
        background: linear-gradient(90deg, #072056 0, #072056 50%, #2C98BF 50%, #2C98BF 100%);
        left: -60px;
        top: 50%;
        transform: translate(0, -50%);
    }
}

.nid__th {
    position: relative;
    font-weight: bold;

    &::before {
        content: "■";
        position: absolute;
        left: -1em;
        top: 0;
        color: #2C98BF;


    }
}

.nid__dl {
    align-items: flex-end;
    color: #072056;

    .left {
        width: 70%;
        padding: 30px 4%;
        background: #CDD2DD;
    }
}

.nid__dl--img {
    width: 30%;
}

.nidd__btn a {
    width: 620px;
    line-height: 100px;
    background: #3C4449;
    font-size: 2.6rem;
}


/*iframeをレスポンシブ化*/
.fcm__moviewreap {
    width: 100%;
    padding-bottom: 56.25%;
}

.fcm__movie {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media screen and (max-width:1024px) {
    .ni-detail {
        padding: 40px 0 80px;
    }

    .nid__ttl {
        margin: 0 auto 30px;
        border-bottom: solid 6px #2C98BF;

    }

    .nid__img--main {
        margin: 0 auto 10px;
    }

    .nid__img {
        margin: 0 auto 60px;
    }

    .nid__box {
        padding: 40px 40px;


        &::before {
            width: 50px;
            height: 50px;
            top: -10px;
            right: -10px;
        }

        &::after {
            width: 50px;
            height: 50px;
            bottom: -10px;
            left: -10px;
        }
    }

    .nid__box--ttl {

        &::before {
            width: 35px;
            height: 10px;
            left: -40px;
            top: 50%;
        }
    }

    .nid__dl {

        .left {
            width: 70%;
            padding: 20px 4%;
        }
    }

    .nid__dl--img {
        width: 30%;
    }

    .nidd__btn a {
        width: 500px;
        line-height: 60px;
        font-size: 2rem;
    }
}

@media screen and (max-width:767px) {
    .ni-detail {
        padding: 30px 0 60px;
    }

    .nir__tags {
        margin-bottom: 30px;

        li {
            font-size: 1.4rem;
        }
    }

    .nid__ttl {
        font-size: 3rem;
        margin: 0 auto 30px;
        border-bottom: solid 8px #2C98BF;

    }

    .nid__img--main {
        margin: 0 auto 10px;
    }

    .nid__img {
        margin: 0 auto 30px;
        width: 112%;
        margin-left: -6%;

        & figcaption {
            padding: 0 5%;

        }
    }

    .nid__box {
        padding: 40px 30px;


        &::before {
            width: 50px;
            height: 50px;
            top: -10px;
            right: -10px;
        }

        &::after {
            width: 50px;
            height: 50px;
            bottom: -10px;
            left: -10px;
        }
    }

    .nid__box--ttl {
        padding-left: 30px;

        &::before {
            width: 45px;
            height: 10px;
            left: -30px;
            top: 50%;
        }
    }

    .nid__dl {
        background: #CDD2DD;
        padding: 30px 5%;
        width: 112%;
        margin-left: -6%;
        text-align: center;

        .left {
            width: 100%;
            padding: 0;
            margin-bottom: 20px;
        }
    }

    .nid__dl--img {
        width: 100%;
        margin: 0 auto 20px;
    }

    .nidd__btn a {
        width: 500px;
        line-height: 1.4;
        height: auto;
        font-size: 1.8rem;
        padding: .5em;
    }

    .nid__btn a {
        line-height: 50px;
        width: 300px;
        font-size: 2rem;
    }
}