@charset "UTF-8";

/* ============================================================
   Base
   ============================================================ */
.nr img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* ============================================================
   KV (Key Visual)
   ============================================================ */
.nr-kv {
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 960px) {
  .nr-kv {
    overflow: visible;
  }
}

.nr-img {
  line-height: 0;
  font-size: 0;
}

.nr-img-pc {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 960px) {
  .nr-img-pc {
    display: none;
  }
}

.nr-img-sp {
  display: none;
}
@media screen and (max-width: 960px) {
  .nr-img-sp {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* PC: KV画像にテキストが含まれるため非表示 */
.nr-kv-title {
  display: none;
  font-weight: bold;
  margin: 0;
  position: relative;
  &::after {
    position: absolute;
    content: "";
    display: block;
    background-color: #171c8f;
    transform: skewX(-13deg);
    transform-origin: bottom left;
    height: 100%;
    width: 93%;
    opacity: 0.9;
    top: 0;
    left: 0;
  }
}
/* SP: 画像の下に紺色背景ブロックとしてタイトルを表示 */
@media screen and (max-width: 960px) {
  .nr-kv-title {
    display: block;
    padding: 30.59px 51.16px 15px 51.16px;
    margin: 24px 22.5px 0;
  }
}

.nr-kv-title-text-ja {
  display: block;
  font-size: 32px;
  color: #ffffff;
  line-height: 2;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 960px) {
  .nr-kv-title-text-ja {
    font-size: 16.5px;
  }
}

.nr-kv-title-text-en {
  display: block;
  color: #ffffff;
  line-height: 2;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 960px) {
  .nr-kv-title-text-en {
    font-size: 62px;
    font-size: 31.9px;
    margin-top: -12px;
  }
}

/* ============================================================
   Anchor Navigation
   ============================================================ */
.nr-anchor-list {
  position: relative;
  z-index: 2;
  margin: 60px 15px 80px;
  padding: 22px 20px;
  box-sizing: border-box;
  @media screen and (min-width: 961px) {
    margin-top: -68px;
    margin-bottom: 160px;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 150px;
  }
  @media screen and (min-width: 1200px) {
    max-width: 1030px;
    margin-inline: auto;
    padding-inline: 200px;
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #171c8f;
    @media screen and (min-width: 961px) {
      transform: skewX(-13deg);
      transform-origin: bottom left;
      width: calc(100% - 28px);
    }
  }
}

.nr-anchor-list-inner {
  margin: 0;
}

body.g-rsp-page .nr-anchor-list-ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px 18px;
  @media screen and (min-width: 961px) {
    gap: 16px 44px;
  }
  &::after {
    content: none;
  }
}

body.g-rsp-page .m-anchor-list li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media screen and (min-width: 961px) {
  .nr-anchor-list-ul li {
  }
}

.nr-anchor-list-ul li a {
  display: flex;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  background: url(../img/arrow_down_white.png) no-repeat right 50%;
  background-size: auto 10px;
  padding: 0 24px 0 0;
  font-weight: bold;
  width: fit-content;
}
@media screen and (max-width: 960px) {
  .nr-anchor-list-ul li a {
    font-size: 14px;
    line-height: 2;
  }
}
@media screen and (min-width: 961px) {
  .nr-anchor-list-ul li a {
    font-size: 18px;
  }
}

.nr-anchor-list-ul li a:hover {
  text-decoration: underline;
}

/* ============================================================
   Section Common
   ============================================================ */
.nr-section {
  max-width: calc(1285px + 15px * 2);
  margin: 0 auto 120px;
  padding: 0 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  @media screen and (min-width: 961px) {
    margin-bottom: 150px;
  }
  p {
    font-size: 16px;
    line-height: 2;
    margin-top: 0;
    margin-bottom: 44px;
    &.nr-lead-text {
      font-size: 20px;
      line-height: 2;
      margin-top: -12px;
    }
  }
}

body.s-page .nr-heading-lv2 {
  margin: 0 0 44px;
  padding: 6.5px 0 6.5px 40px;
  position: relative;
  @media screen and (min-width: 961px) {
    padding: 3.5px 0 3.5px 60px;
  }
  &::after {
    position: absolute;
    content: "";
    display: block;
    border-left: 16px solid #171c8f;
    background-color: rgba(164, 208, 240, 0.5);
    transform: skewX(-13deg);
    transform-origin: bottom left;
    height: 100%;
    width: calc(100% - 28px);
    top: 0;
    left: 0;
  }
  span {
    position: relative;
    z-index: 1;
    font-size: 28px;
    line-height: 1.6;
    font-weight: normal;
    color: #000;
    @media screen and (min-width: 961px) {
      font-size: 32px;
    }
  }
}

body.s-page {
  .nr-section-01 .nr-heading-lv2::after {
    border-left-color: #171c8f;
    background-color: #a4d0f080;
  }
  .nr-section-02 .nr-heading-lv2::after {
    border-left-color: #ff4259;
    background-color: #ffa7b280;
  }
  .nr-section-03 .nr-heading-lv2::after {
    border-left-color: #c1c3aa;
    background-color: #e3e5d9;
  }
  .nr-section-04 .nr-heading-lv2::after {
    border-left-color: #bb79c4;
    background-color: #d8bae080;
  }
  .nr-section-05 .nr-heading-lv2::after {
    border-left-color: #42bc92;
    background-color: #a6e0cb80;
  }
  .nr-section-06 .nr-heading-lv2::after {
    border-left-color: #8db3c9;
    background-color: #c9d5e380;
  }
  .nr-section-07 .nr-heading-lv2::after {
    border-left-color: #c1c3aa;
    background-color: #e3e5d9;
  }
}

.nr-heading-lv3 {
  margin: 0 0 32px;
  position: relative;
  padding-left: calc(18px + 20px);
  &::after {
    position: absolute;
    content: "";
    display: block;
    border-left: 10px solid #171c8f;
    transform: skewX(-13deg);
    transform-origin: bottom left;
    height: 36px;
    width: calc(100% - 28px);
    top: 3px;
    left: 0;
    @media screen and (min-width: 961px) {
      top: 4.5px;
    }
  }
  span {
    position: relative;
    z-index: 1;
    font-size: 26px;
    line-height: 1.6;
    font-weight: normal;
    color: #000;
    @media screen and (min-width: 961px) {
      font-size: 28px;
    }
  }
}
.nr-section-01 .nr-heading-lv3::after {
  border-left-color: #171c8f;
}
.nr-section-02 .nr-heading-lv3::after {
  border-left-color: #ff4259;
}
.nr-section-03 .nr-heading-lv3::after {
  border-left-color: #c1c3aa;
}
.nr-section-04 .nr-heading-lv3::after {
  border-left-color: #bb79c4;
}
.nr-section-05 .nr-heading-lv3::after {
  border-left-color: #42bc92;
}
.nr-section-06 .nr-heading-lv3::after {
  border-left-color: #8db3c9;
}
.nr-section-07 .nr-heading-lv3::after {
  border-left-color: #c1c3aa;
}

.nr-img-wrapper {
  margin: 0 0 44px;
}

.nr-img-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ============================================================
   Text Link
   ============================================================ */
.nr-text-link {
  margin: 12px 0 0;
}

.nr-text-link a {
  display: inline-block;
  color: #171c8f;
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
  padding-left: 18px;
  position: relative;
  padding-left: 20px;
  background: url(../img/arrow_blue.png) left center no-repeat;
  background-size: 10.5px 18px;
}

.nr-text-link a:hover {
  text-decoration: underline;
}

/* ============================================================
   Section 01: 社長メッセージ (Text + Image 2 Column)
   ============================================================ */
.nr-layout-imgcotents {
  @media screen and (min-width: 961px) {
    display: flex;
    column-gap: 30px;
  }
}

.nr-imgarea {
  @media screen and (min-width: 961px) {
    flex-shrink: 0;
    width: calc(360 / 1286 * 100%);
  }
}

/* ============================================================
   Accordion (Section 05: 成長を支える施策)
   ============================================================ */
.accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  .nr-img-wrapper {
    margin-bottom: 0;
  }
}

.accordion-item input[type="checkbox"] {
  display: none;
}

.accordion-item h3.nr-accordion-heading {
  border-bottom: none;
  padding: 0;
  margin: 0;
}

.accordion-item h3.nr-accordion-heading label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 11.5px 20px;
  background: #a6e0cb80;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.6;
  color: #000;
  position: relative;
}

.accordion-item h3.nr-accordion-heading label::before {
  /* + 縦棒 */
  content: "";
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 27px;
  background-color: #42bc92;
}
.accordion-item h3.nr-accordion-heading label::after {
  /* + 横棒 */
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 3px;
  background-color: #42bc92;
}

.accordion-item input:checked ~ h3.nr-accordion-heading label::before {
  /* - */
  background-color: transparent;
}

.accordion-item .content {
  display: none;
  padding-top: 32px;
  padding-bottom: 12px;
}

.accordion-item input:checked ~ .content {
  display: block;
}

/* ============================================================
   Accordion (Section 07: 参考リンク)
   ============================================================ */
.nr-reference-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 31px;
  @media screen and (min-width: 961px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nr-reference-links-item {
  flex-shrink: 0;
  flex-grow: 0;
}

.nr-reference-links-link {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  color: #000;
}

.nr-reference-links-img {
  width: 100%;
}

.nr-reference-links-text {
  font-size: 16px;
  line-height: 2;
}

.nr-reference-links-link.nfe-popup .nr-reference-links-text {
  background: url(../img/icon_modal.svg) no-repeat right center;
  background-size: 16px 16px;
}


/* ============================================================
   magnificPopup
   ============================================================ */

.mfp-bg {
  background-color: rgba(23, 28, 143, 0.95);
}
@media all and (max-width: 768px) {
  .mfp-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.mfp-content {
  position: relative;
}
button.mfp-close {
  width: 51px !important;
  height: 51px;
  font-size: 0;
  opacity: 1;
  padding: 0 !important;
  margin: 0 !important;
  top: -51px !important;
  right: -51px !important;
}
@media all and (max-width: 960px) {
  button.mfp-close {
    width: 42px !important;
    height: 42px;
    right: -4px !important;
  }
}
button.mfp-close::before,
button.mfp-close::after {
  display: block;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
button.mfp-close::before {
  transform: rotate(45deg);
}
button.mfp-close::after {
  transform: rotate(-45deg);
}
button.mfp-close:hover {
  opacity: 0.6;
}
