.library {
  padding-top: 40px;
}
.library-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 55px;
}
.library-navi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -20px;
  margin-top: -20px;
  margin-bottom: 50px;
}
.library-navi__item {
  width: calc(25% - 20px);
  margin-left: 20px;
  margin-top: 20px;
}
.library-navi__link {
  border: 1px solid #006F32;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 16px;
  height: 66px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.library-navi__link:before {
  content: "";
  width: 100px;
  height: 3px;
  background: #006F32;
  position: absolute;
  top: 0;
  left: 20px;
}
.library-navi__link:after {
  content: "";
  width: 14px;
  height: 9px;
  background: url(../images/common/arrow_down.svg) center center no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.library-navi__link:hover {
  color: #fff;
  background: #006F32;
}
.library-navi__link:hover:after {
  background: url(../images/common/arrow_down_w.svg) center center no-repeat;
  background-size: 100% auto;
}
.library-select {
  margin-top: 55px;
  margin-bottom: 40px;
}
.library-select select {
  border: 1px solid #C6C6C6;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 16px;
  width: 230px;
  background: url(../images/common/arrow_down.svg) right 15px center no-repeat;
  background-size: 14px auto;
}

@media screen and (max-width: 768px) {
  .library {
    padding-top: 0;
  }
  .library-title {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
  }
  .library-navi {
    margin-left: 0;
    margin-bottom: 45px;
  }
  .library-navi__item {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }
  .library-select {
    margin-bottom: 40px;
  }
}
.library-detail {
  margin-bottom: 100px;
}
.library-detail__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.library-detail__lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
}
.library-detail__text {
  font-size: 16px;
  line-height: 2;
}
.library-detail__box {
  margin-bottom: 40px;
}
.library-detail__subtitle {
  background: #F5F5F5;
  border-left: 6px solid #006F32;
  font-size: 18px;
  font-weight: 700;
  padding: 15px;
  margin-bottom: 35px;
}
.library-detail__item {
  margin-bottom: 20px;
}
.library-detail__item:last-child {
  margin-bottom: 0;
}
.library-detail__link {
  font-size: 16px;
  line-height: 1.7;
}
.library-detail__link .icon-pdf img {
  width: 15px;
  margin-left: 5px;
  display: inline-block;
  margin-top: -4px;
  vertical-align: middle;
}
.library-detail__link .icon-link img {
  width: 20px;
  margin-left: 5px;
  display: inline-block;
  margin-top: -4px;
  vertical-align: middle;
}

@media screen and (max-width: 768px) {
  .library-detail__title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .library-detail__lead {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .library-detail__text {
    font-size: 15px;
  }
  .library-detail__box {
    margin-bottom: 45px;
  }
}
.library-sitemap__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 30px;
  margin-left: -20px;
}
.library-sitemap__block {
  width: calc(33.333% - 20px);
  margin-left: 20px;
}
.library-sitemap__link {
  font-size: 16px;
  font-weight: 500;
  padding: 20px 0;
  position: relative;
  display: block;
  border-bottom: 1px solid #D6D6D6;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.library-sitemap__link:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/top/icon_arrow.svg) no-repeat center/contain;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.library-sitemap__link[target=_blank]:after {
  content: "";
  width: 14px;
  height: 13px;
  background: url(../images/common/icon_newwindow_green.png) no-repeat 0 0;
  background-size: 100% auto;
  position: absolute;
  margin-left: 5px;
}
.library-sitemap__link:hover {
  color: #006F32;
}
.library-sitemap__child {
  padding-top: 15px;
  padding-left: 18px;
}
.library-sitemap__child-item {
  margin-bottom: 15px;
}
.library-sitemap__child-item:last-child {
  margin-bottom: 0;
}
.library-sitemap__child-link {
  font-size: 16px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.library-sitemap__child-link:hover {
  color: #006F32;
}

@media screen and (max-width: 768px) {
  .library-sitemap__body {
    margin-top: 20px;
    margin-left: 0px;
  }
  .library-sitemap__block {
    width: 100%;
    margin-left: 0;
  }
  .library-sitemap__link {
    padding: 15px 0;
  }
}