.mainImage {
  background-image: url(/images/toshokan/main-image.jpg);
}

/*==================================================
  topEvent
==================================================*/
.topEvent {
  width: 100%;
  margin: 0 0 40px 0;
  padding: 17px;
  border: 3px solid #1bb366;
  border-radius: 10px;
  background-color: #fff;
}

@media print, screen and (min-width: 1024px) {
  .topEvent {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-width: 5px;
    padding: 25px;
  }
}

.topEvent .topEvent__mainTitle {
  width: 100%;
  margin: 0 0 35px 0;
  padding: 0 0 0 44px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle {
    margin-bottom: 45px;
    padding-left: 70px;
  }
}

.topEvent .topEvent__mainTitle:before {
  width: 36px;
  height: 36px;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background-color: #1bb366;
  background-image: url(/images/icon_event_white.svg);
  background-repeat: no-repeat;
  background-size: 28px 28px;
  background-position: center center;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle:before {
    width: 56px;
    height: 56px;
    background-size: 44px 44px;
    top: -5px;
  }
}

.topEvent .topEvent__mainTitle:after {
  width: 100%;
  height: 5px;
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  background-image: url(/images/contents_bg.png);
  background-position: 0 0;
  background-repeat: repeat;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle:after {
    bottom: -25px;
  }
}

.topEvent .topEvent__mainTitle .topEvent__mainTitleJa {
  width: 100%;
  margin: 0 0 5px 0;
  padding: 0;
  display: block;
  font-size: 18px;
  font-size: 1rem;
  font-weight: bold;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle .topEvent__mainTitleJa {
    margin-bottom: 8px;
    font-size: 30px;
    font-size: 1.66667rem;
  }
}

.topEvent .topEvent__mainTitle .topEvent__mainTitleEn {
  width: 100%;
  display: block;
  color: #1bb366;
  letter-spacing: 0;
  font-size: 10px;
  font-size: 0.55556rem;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle .topEvent__mainTitleEn {
    font-size: 13px;
    font-size: 0.72222rem;
  }
}

.topEvent .topEvent__mainTitle .topEvent__btnList {
  position: absolute;
  right: 0;
  top: 0;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle .topEvent__btnList {
    top: 8px;
  }
}

.topEvent .topEvent__mainTitle .topEvent__btnList a {
  margin: 0;
  padding: 8px 8px 8px 24px;
  position: relative;
  font-size: 12px;
  font-size: 0.66667rem;
  line-height: 1;
  color: #333;
  font-weight: bold;
  display: block;
  text-decoration: none;
  border: 1px solid #e5e5df;
  border-radius: 50px;
  background-image: url("/images/icon_arrow_primary_m_right.svg");
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 12px 12px;
  box-shadow: 0px 5px 0px 0px #e4e2e2;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__mainTitle .topEvent__btnList a {
    padding: 12px 25px 12px 40px;
    font-size: 16px;
    font-size: 0.88889rem;
    background-position: 14px center;
    background-size: 15px 15px;
    top: 0;
    transition: all .2s;
  }
  .topEvent .topEvent__mainTitle .topEvent__btnList a:hover {
    color: #fff;
    border-color: #1bb366;
    background-color: #1bb366;
    background-image: url("/images/icon_arrow_white_m_right.svg");
    background-position: 18px center;
    box-shadow: 0px 0px 0px 0px #e4e2e2;
  }
}

.topEvent .topEvent__list {
  padding-right: 20px;
  height: 400px;
  overflow-y: scroll;
  transition: all .2s;
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__list {
    height: 500px;
  }
}

.topEvent .topEvent__list.active {
  height: auto;
  overflow-y: visible;
}

@media print, screen and (min-width: 768px) {
  .topEvent .topEvent__list ul li {
    width: 49%;
  }
  .topEvent .topEvent__list ul li:nth-child(2) {
    padding-top: 0;
    border-top-width: 0;
  }
}

@media print, screen and (min-width: 1024px) {
  .topEvent .topEvent__list ul li {
    width: 48%;
  }
}

.topEventButton {
  width: 100%;
  margin: 20px auto 0 auto;
  padding: 20px;
  position: relative;
  font-size: 16px;
  font-size: 0.88889rem;
  line-height: 1;
  color: #fff;
  font-weight: bold;
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #1bb366;
  border-radius: 10px;
  background-size: 12px 12px;
  background-color: #1bb366;
  box-shadow: 0px 5px 0px 0px #e4e2e2;
  cursor: pointer;
}

.topEventButton.active .icon {
  background-image: url(/images/icon_close_white.svg);
}

.topEventButton.active:hover .icon {
  background-image: url(/images/icon_close_white.svg);
}

@media print, screen and (min-width: 1024px) {
  .topEventButton {
    font-size: 20px;
    font-size: 1.11111rem;
    transition: all .2s;
  }
  .topEventButton:hover {
    color: #fff;
    background-color: #1bb366;
    box-shadow: 0px 0px 0px 0px #e4e2e2;
  }
  .topEventButton:hover .icon {
    background-image: url("/images/icon_arrow_white_m_down.svg");
  }
}

.topEventButton .icon {
  padding: 0 0 0 24px;
  display: inline-block;
  background-image: url("/images/icon_arrow_white_m_down.svg");
  background-repeat: no-repeat;
  background-position: 0 center;
}

@media print, screen and (min-width: 1024px) {
  .topEventButton .icon {
    padding-left: 28px;
  }
}

/*==================================================
  topNews
==================================================*/
.topNews {
  width: 100%;
  margin: 0 0 20px 0;
  padding: 25px;
  background-color: #fff;
  border-radius: 10px;
}

@media print, screen and (min-width: 1024px) {
  .topNews {
    width: 48%;
    margin-bottom: 0;
  }
}

.topNews .topNews__mainTitle {
  width: 100%;
  margin: 0 0 35px 0;
  padding: 0 0 0 44px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle {
    margin-bottom: 45px;
    padding-left: 70px;
  }
}

.topNews .topNews__mainTitle:before {
  width: 36px;
  height: 36px;
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  border-radius: 50%;
  background-color: #1bb366;
  background-image: url(/images/icon_news-02_white.svg);
  background-repeat: no-repeat;
  background-size: 40px 40px;
  background-position: center center;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle:before {
    width: 56px;
    height: 56px;
    background-size: 60px 60px;
  }
}

.topNews .topNews__mainTitle:after {
  width: 100%;
  height: 5px;
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  background-image: url(/images/contents_bg.png);
  background-position: 0 0;
  background-repeat: repeat;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle:after {
    bottom: -25px;
  }
}

.topNews .topNews__mainTitle .topNews__mainTitleJa {
  width: 100%;
  margin: 0 0 5px 0;
  padding: 0;
  display: block;
  font-size: 18px;
  font-size: 1rem;
  font-weight: bold;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle .topNews__mainTitleJa {
    margin-bottom: 8px;
    font-size: 24px;
    font-size: 1.33333rem;
  }
}

.topNews .topNews__mainTitle .topNews__mainTitleEn {
  width: 100%;
  display: block;
  color: #1bb366;
  letter-spacing: 0;
  font-size: 10px;
  font-size: 0.55556rem;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle .topNews__mainTitleEn {
    font-size: 12px;
    font-size: 0.66667rem;
  }
}

.topNews .topNews__mainTitle .topNews__btnList {
  position: absolute;
  right: 0;
  top: 0;
}

.topNews .topNews__mainTitle .topNews__btnList a {
  margin: 0;
  padding: 8px 8px 8px 24px;
  position: relative;
  font-size: 12px;
  font-size: 0.66667rem;
  line-height: 1;
  color: #333;
  font-weight: bold;
  display: block;
  text-decoration: none;
  border: 1px solid #e5e5df;
  border-radius: 50px;
  background-image: url("/images/icon_arrow_primary_m_right.svg");
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 12px 12px;
  box-shadow: 0px 5px 0px 0px #e4e2e2;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__mainTitle .topNews__btnList a {
    padding: 12px 25px 12px 40px;
    font-size: 16px;
    font-size: 0.88889rem;
    background-position: 14px center;
    background-size: 15px 15px;
    top: 0;
    transition: all .2s;
  }
  .topNews .topNews__mainTitle .topNews__btnList a:hover {
    color: #fff;
    border-color: #1bb366;
    background-color: #1bb366;
    background-image: url("/images/icon_arrow_white_m_right.svg");
    background-position: 18px center;
    box-shadow: 0px 0px 0px 0px #e4e2e2;
  }
}

.topNews .topNews__list {
  padding-right: 20px;
  height: 400px;
  overflow-y: scroll;
  transition: all .2s;
}

@media print, screen and (min-width: 1024px) {
  .topNews .topNews__list {
    height: 560px;
  }
}

.topNews {
  border: 1px solid #e5e5df;
}

.toshokanContentsWrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

@media print, screen and (min-width: 1024px) {
  .toshokanContentsWrap {
    justify-content: space-between;
  }
}

.toshokanContentsBox {
  width: 100%;
}

@media print, screen and (min-width: 1024px) {
  .toshokanContentsBox {
    width: 48%;
  }
}

.topTw {
  padding: 15px;
  border: 1px solid #e5e5df;
  border-radius: 10px;
}

/*==================================================
  btnBookSearch
==================================================*/
.btnBookSearch {
  width: 100%;
  display: inline-block;
  margin-bottom: 40px;
}

.btnBookSearch a {
  padding: 15px 15px 15px 60px;
  display: block;
  color: #fff;
  text-decoration: none;
  background-color: #11b1f3;
  border-radius: 10px;
  background-image: url(/images/icon_search_white.svg);
  background-position: 15px 15px;
  background-repeat: no-repeat;
  background-size: 34px 34px;
  box-shadow: 0px 5px 0px 0px #e4e2e2;
}

@media print, screen and (min-width: 1024px) {
  .btnBookSearch a {
    padding: 25px 25px 25px 90px;
    background-size: 44px 44px;
    background-position: 25px 25px;
    transition: all .2s;
  }
  .btnBookSearch a:hover {
    background-color: #fd7c09;
    box-shadow: 0px 0px 0px 0px #e4e2e2;
  }
}

.btnBookSearch a .title {
  margin: 0 0 10px 0;
  padding: 0 26px 0 0;
  font-size: 24px;
  font-size: 1.33333rem;
  display: inline-block;
  position: relative;
  font-weight: bold;
}

@media print, screen and (min-width: 1024px) {
  .btnBookSearch a .title {
    font-size: 30px;
    font-size: 1.66667rem;
  }
}

.btnBookSearch a .title:after {
  margin: 0;
  padding: 0 20px 0 0;
  content: "";
  width: 17px;
  height: 13px;
  position: absolute;
  top: 6px;
  right: 0;
  background-image: url(/images/icon_win_white.svg);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 17px 13px;
}

.btnBookSearch a .lead {
  width: 100%;
  font-size: 14px;
  font-size: 0.77778rem;
  display: inline-block;
  line-height: 1.2;
}

@media print, screen and (min-width: 1024px) {
  .btnBookSearch a .lead {
    font-size: 16px;
    font-size: 0.88889rem;
  }
}
