@charset "utf-8";

.breadcrumb-wrapper {
  max-width: 1020px;
  margin: 30px auto 0;
}

.breadcrumb {
  display: flex;
  gap: 0 22px;
  list-style: none;
  padding: 0;
  font-size: 1.3em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: .3em;
  height: .3em;
  margin-left: 10px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  content: '';
}

.breadcrumb a {
  color: #666666;
  text-decoration: none;
}

.breadcrumb li:last-child a {
  color: #00b28f;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: anchor-center;
}

.flex .left,
.flex .right {
  width: 50%;
}

.top {
  padding: 25px 0 70px;
}

.top .columnRight {
  margin-left: 30px;
}

.top p+p {
  margin-top: 28px;
}

.top .topImg {
  position: relative;
  padding-bottom: 120px;
}

.text-center {
  text-align: center;
}

.top .topImg .caption {
  position: absolute;
  right: -58px;
  bottom: 0;
  z-index: 2;
  height: 240px;
  width: 360px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top .topImg .caption:before {
  background: #e60012;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  height: 150%;
  width: 260px;
  transform: rotate(19deg) translate(28px, -70px);
  content: "";
}

.top .topImg .caption p {
  color: #fff;
  font-size: 2rem;
  line-height: 1.875;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.top .topImg .caption p span {
  display: block;
  font-size: 2.4rem;
  margin-top: 10px;
  text-align: center;
}

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

.list_contents a {
  text-decoration: none;
  color: #333;
}

.link .list_contents>li {
  width: 32.5%;
  background-color: #f6f6f9;
}

.list_contents>li dl {
  padding: 25px 35px;
}

.list_contents>li dt {
  margin-bottom: 3rem;
  font-size: 18px;
  text-align: center;
  padding-bottom: 2.5rem;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 1px solid #dcdcdc;
}

.list_contents>li dd {
  background-color: #fff;
  padding: 16px;
  line-height: 2;
  font-size: 16px;
  font-weight: bold;
}

.ft-normal {
  font-weight: normal !important;
}

.box_img {
  margin: 0;
}

/* news */
.news {
  padding-top: 60px;
}

.news h2 {
  border: 1px solid #666;
  width: 60%;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: center;
  font-weight: normal;
}

.newsList {
  margin: 40px auto;
}

.newsList dl {
  display: block;
  min-height: 1%;
  border-bottom: 1px solid #e6e6e6;
  padding: 25px 30px;
  font-size: 1.6rem;
  line-height: 1.75;
  transition: all .4s;
}

.newsList dl:hover {
  background-color: #f7f7f7;
}

.newsList dl:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
}

* html .newsList dl {
  height: 1em;
  overflow: visible;
}

.newsList dl dt {
  float: left;
  width: 184px;
  position: relative;
}

.newsList .cat {
  position: absolute;
  right: 0;
  width: 90px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #000;
  top: 50%;
  margin-top: -10px;
  font-size: 1rem;
}

.newsList .cat.cat01 {
  background-color: #00a0e9;
}

.newsList .cat.cat02 {
  background-color: #e60012;
}

.newsList .cat.cat03 {
  background-color: #8fc31f;
}

.newsList .cat.cat04 {
  background-color: #ffa500;
}

.newsList dl dd {
  overflow: hidden;
  padding-left: 30px;
}

.newsList a {
  color: #333;
  text-decoration: none;
}

.infoBtn {
  width: 200px;
  margin: 0 auto;
  background-color: #000;
}

.infoBtn a {
  display: block;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 3px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  font-size: 1.4rem;
  background: url(https://www.nippeco.co.jp/images/index/icon_arrow01.png) 10% center no-repeat;
}

@media screen and (max-width: 768px) {
  .breadcrumb-wrapper {
    padding-left: 16px;
    font-size: 0.8em;
  }

  .breadcrumb {
    gap: 0 10px;

  }

  .news h2 {
    width: 80%;
  }

  .newsList dl {
    border-bottom: 0.3125vw solid #e6e6e6;
    padding: 2.6vw 0;
    font-size: 3.2vw;
  }

  .newsList dl:hover {
    background-color: #fff;
  }

  .newsList dl dt {
    float: none;
    width: 100%;
    position: relative;
    margin-bottom: 1.3vw;
  }

  .newsList .cat {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 2.66vw;
    right: 0;
    width: 17vw;
    height: 4vw;
    color: #fff;
    background-color: #000;
    top: -0.4vw;
    text-align: center;
    font-size: 2vw;
    line-height: 4vw;
  }

  .newsList dl dd {
    padding-left: 0;
  }

  .newsList a:hover {
    text-decoration: none;
  }


}

@media screen and (max-width: 768px) {
  #mainContainer {
    padding-bottom: 60px;
  }

  .top {
    padding: 4vw 0 12vw;
  }

  .flex {
    display: block;
  }

  .flex .left,
  .flex .right {
    width: 100%;
  }

  .flex .right {
    margin-top: 50px;
  }

  .top p+p {
    margin-top: 3.2vw;
  }

  .top .topImg {
    position: relative;
    padding-bottom: 10vw;
    text-align: center;
  }

  .top .topImg .caption {
    right: -4vw;
    height: 50vw;
    width: 75vw;
  }

  .top .topImg .caption:before {
    height: 150%;
    width: 54vw;
    transform: rotate(19deg) translate(5.83vw, -14.583vw);
  }

  .top .topImg .caption p {
    font-size: 4.16vw;
  }

  .top .topImg .caption p span {
    font-size: 5vw;
    margin-top: 2vw;
  }

  .link .list_contents {
    display: block;
  }

  .link .list_contents>li {
    width: 100%;
    margin-bottom: 20px;
  }

}