@charset "UTF-8";
/* =======================================

  indexElements

======================================= */
#wrapper {
  opacity: 0;
  padding-top: 64px;
  position: relative;
}
#wrapper::before {
    content:"";
    width: 100vw;
    height: 100vh;
    background: url('/facilities/library/img/index/top_bg.jpg') center center no-repeat;
    background-size: cover;
    position: fixed;
    top: 96px;
    left: 0;
    z-index: -1;
}
#wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  background: url('/facilities/library/img/index/bg_blur.png') repeat;
  background-color: rgba(241, 185, 255, 0.28);
  position: absolute;
  top: 170px;
  left: 0;
  mix-blend-mode: screen;
  z-index: -1;
}

@media only screen and (max-width: 768px) {
  #wrapper {
    padding-top: 35px;
  }
  #wrapper::before {
    top: 64px;
  }
}

/* ------------------------------------
  search
------------------------------------ */
.searchField {
  display: table;
  width: 703px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 24px 23px 18px;
  margin: 0 0 44px;
  box-shadow: 0 3px 16px rgba(19, 32, 49, 0.016);
  position: relative;
}
.searchField p {
  font-size: 1.2rem;
}
.searchField p a {
  text-decoration: underline;
  margin: 0 10px;
}
.searchField .btn {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  padding: 6px 13px 6px 48px;
  position: absolute;
  top: 26px;
  right: 23px;
}
.searchField .btn::after {
  content: "\e901";
  font-size: 1.7rem;
  left: 13px;
  right: auto;
}
.searchField small {
  display: block;
  font-size: 1.3rem;
}

/* tab */
.tabWrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  margin: 0 0 25px;
}
.searchField .tabWrap {
  margin-right: 174px;
}
.tabWrap > li {
  width: 100%;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  padding: 12px 12px 0;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease-out;
}
.tabWrap > li:first-child {
  padding-left: 0;
}
.tabWrap > li:last-child {
    padding-right: 0;
}
.tabWrap > li::after {
  content: "";
  display: block;
  width: 0;
  height: 5px;
  background-color: #492d65;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
.tabWrap > li.active {
  color: #492d65;
}
.tabWrap > li.active::after {
  width: 90%;
  opacity: 1;
}
.tabWrap > li:first-child.active::after {
  transform: translateX(-50%) translateX(-6px);
}
.tabWrap > li:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 24px;
  background-color: #533076;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateY(5px);
}
.tabCont:not(:first-child) {
  display: none;
}

/* Hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) .tabWrap > li:hover {
    color: #492d65;
    opacity: 0.6;
  }
  body:not(.tab_view) .tabWrap > li:hover::after {
    width: 90%;
    opacity: 1;
  }
  body:not(.tab_view) .tabWrap > li:first-child:hover::after {
    transform: translateX(-50%) translateX(-6px);
  }
}

@media only screen and (max-width: 768px) {
  .searchField {
    width: 100%;
    padding: 14px;
    margin:  0 0 24px;
  }
  .searchField p {
    font-size: 1.4rem;
  }
  .searchField .btn {
    display: table;
    font-size: 1.4rem;
    position: relative;
    top: auto;
    right: auto;
    padding: 12px 13px 12px 48px;
    margin: 0 0 0 auto;
  }
  .searchField small {
    font-size: 1.2rem;
    display: inline-block;
  }
  .searchField .tabWrap {
    margin-right: 0;
  }
  .tabWrap  {
    margin: 0 0 10px;
  }
  .tabWrap > li {
    padding: 10px 12px 0;
  }
  .tabWrap > li:not(:first-child)::before {
    height: 38px;
  }
  .tabCont {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 400px) {
  .tabWrap > li {
    font-size: 1.3rem;
    white-space: normal;
    letter-spacing: 0.05em;
    padding: 10px 5px 0;
  }
}

/* input */
.searchField form {
  margin: 6px 0;
  overflow: hidden;
}
.searchField input[type="text"] {
  font-size: 1.6rem;
  width: calc(100% - 72px);
  height: 48px;
  padding: 10px;
  float: left;
  border: 1px solid #492D65;
  border-width: 3px 0 3px 3px;
  -webkit-appearance: none;
  border-radius: 0;
}
.searchField input[type="text"]:focus {
  outline: none;
}
.searchBtnIcon {
  float: right;
  height: 48px !important;
  width: 72px !important;
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #492D65;
  border-width: 3px 3px 3px 0;
}
.searchBtnIcon::before {
  content: "";
  width: 1px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #e2e2e2;
}
.searchBtnIcon::after {
  font-family: 'komazawaLib';
  content: "\e903";
  padding: 8px 0;
  display: block;
  color: #492d65;
  font-size: 2.0rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-out;
}
.searchBtn {
  height: 46px !important;
  width: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  cursor: pointer;
  border-radius: 0 !important;
  border: none !important;
  background: transparent;
  position: relative;
  z-index: 3;
}


/* #ebscohostCustomSearchBox */
#ebscohostCustomSearchBox {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}
#guidedFieldSelectors {
  width: 290px;
}
#guidedFieldSelectors + div {
  width: calc(100% - 290px);
}

/* radio */
.searchField input[type="radio"] {
  margin: 0;
  display: none;
  -webkit-appearance: none;
}
.searchField input[type="radio"] + label {
  font-size: 1.4rem;
  display: inline-block;
  padding-left: 26px;
  padding-right: 10px;
  position: relative;
  cursor: pointer;
}
.searchField input[type="radio"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 1px;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border: 3px solid #533076;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-out;
}
.searchField input[type="radio"]:checked + label::before {
  background-color: #533076;
  border-color: #533076;
}
.searchField input[type="radio"]:checked + label::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
}
.searchField input[type="radio"],
.searchField input[type="radio"] + label {
  cursor: pointer;
  transition: all 0.3s ease-out;
}

/* Hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) .searchBtnIcon:hover::after,
  body:not(.tab_view) .searchField input[type="radio"] + label:hover {
    opacity: 0.6;
  }
}

@media only screen and (max-width: 768px) {
  .searchField input[type="text"] {
    width: calc(100% - 48px);
  }
  .searchBtnIcon {
    width: 48px !important;
  }
  .searchBtn {
    width: 48px !important;
  }
  #ebscohostCustomSearchBox {
    display: block;
  }
  #guidedFieldSelectors {
    width: 100%;
    margin-bottom: 10px;
  }
  #guidedFieldSelectors + div {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .searchField input[type="radio"] + label {
    padding-left: 22px;
    padding-right: 2px;
  }
}

/* ------------------------------------
  info
------------------------------------ */
.infoField {
  display: -webkit-box;
  display: flex;
  padding: 30px 22px 35px;
  background-color: #fff;
}
.infoField > section:not(:last-child) {
  margin-right: 30px;
}
.infoField > section.calendar {
  margin-right: 40px;
}

/* calendar */
.calendar {
  width: 300px;
}
.calendar .btn {
  padding-left: 34px;
  padding-right: 10px;
  text-align: left;
}
.calendar .btn::after {
  content: "\e904";
  font-size: 1.2rem;
  left: 14px;
  right: auto;
  transform: translateY(-50%) translateY(1px);
}
.calendar .attention {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* googleCalendar */
.calendar .googleCalendar {
  background-color: #e3e9ff;
  padding: 14px;
  position: relative;
}
.calendar .loader {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e3e9ff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}
.calendar .loader img {
  width: 100%;
}

/* congestion */
.congestion {
  width: 300px;
}
/*.congestionList {
  display: none;
}*/
.congestionList li {
  background-color: #fff;
  overflow: hidden;
  position: relative;
}
.congestionList li:not(:last-child) {
  margin-bottom: 4px;
}
.congestionList li::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 16px 0 0;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s ease-out;
}
.congestionList li a {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  height: 48px;
  border: 2px solid transparent;
  border-bottom-color: #e5e5e5;
  transition: all 0.3s ease-out;
}
.congestionList li a.display_sp {
  display: none;
}
.congestionList li a::before {
  /*content: "";
  width: 100%;*/
  content: none;
  width: 0;
  height: 100%;
  background-color: #efefef;
  position: absolute;
  top: 0;
  left: 0;
}
.congestionList.fadeIn li a::before {
  content: "";
  width: 100%;
  animation: extend_bar ease-out 0.6s;
}
.congestionList li a::after {
  content: "";
  width: calc(80% - 36px);
  height: 25px;
  color: #fff;
  font-weight: 500;
  text-align: right;
  margin: 0 24px 0 12px;
  z-index: 1;
}
/*
  混雑中　　???full
  やや混雑　???somewhat
  混雑なし　???vacant
  閉館中　　???closed
  準備中　　???preparation
  イベント中???event
*/
/* 混雑中 */
.congestionList li.full a::before {
  width: 100%;
  background-color: #e85c5c;
}
.congestionList li.full a::after {
  content: "混雑中";
  background: url(/facilities/library/img/index/icon_full.svg) no-repeat center left;
}
/* やや混雑 */
.congestionList li.somewhat a::before {
  width: 52%;
  background-color: #fdc23e;
}
.congestionList li.somewhat a::after {
  content: "やや混雑";
  background: url(/facilities/library/img/index/icon_somewhat.svg) no-repeat center left;
  color: #fab700;
}
/* 混雑なし */
.congestionList li.vacant a::before {
  width: 20%;
  background-color: #45cde6;
}
.congestionList li.vacant a::after {
  content: "混雑なし";
  background: url(/facilities/library/img/index/icon_vacant.svg) no-repeat center left;
  color: #45cde6;
}
/* 閉館中 */
.congestionList li.closed a::before {
  width: 100%;
  background-color: #b5b5b5;
}
.congestionList li.closed a::after {
  content: "閉館中";
  background: url(/facilities/library/img/index/icon_closed.svg) no-repeat center left;
}
/* 準備中 */
.congestionList li.preparation a::before {
  width: 100%;
  background-color: #efefef;
}
.congestionList li.preparation span {
  color: #666;
}
.congestionList li.preparation a::after {
  content: "準備中";
  background: url(/facilities/library/img/index/icon_preparation.svg) no-repeat center left;
  color: #666;
}
/* イベント中 */
.congestionList li.event a::before {
  width: 100%;
  background-color: #6dc471;
}
.congestionList li.event a::after {
  content: "イベント中";
  background: url(/facilities/library/img/index/icon_event.svg) no-repeat center left;
}

.congestionList li span {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
  width: 20%;
  font-size: 1.8rem;
  font-weight: 700;
  z-index: 1;
}
.congestionList li span > small {
  display: inline-block;
  font-size: 1.4rem;
  vertical-align: bottom;
}

@keyframes extend_bar {
  0% {
    opacity: 0;
    width: 0;
  }
  100% {
    opacity: 1;
  }
}

/* congestionInPre */
.congestionInPre {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  background-color: #f8f7f8;
  margin-top: 25px;
}
.congestionInPre p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #533076;
  line-height: 1.4;
}
.congestionInPre p::before {
  display: block;
  font-family: 'komazawaLib';
  content: "\e90b";
  font-size: 4.1rem;
  text-align: center;
}
.congestionInPre + .congestionList {
  display: none !important;
}

/* info */
.info {
  width: calc(100% - 660px);
  position: relative;
}
.info h2 {
  padding-right: 114px;
}
.info .btn {
  position: absolute;
  top: -3px;
  right: 0;
}
/* info list */
.info ul {
  margin-top: -10px;
}
.info li:not(:last-child) {
  border-bottom: 1px solid #f3f2f4;
}
.info li a {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  color: #222;
  padding: 10px 35px 10px 25px;
  position: relative;
}
.info li a::after {
  font-family: 'komazawaLib';
  content: "\e900";
  font-size: 1.0rem;
  color: #533076;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.info li .date {
  width: 90px;
  font-family: "Roboto Condensed";
  font-size: 1.6rem;
  color: #8a8a8a;
  margin-right: 20px;
}
.info li .ttl {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  font-size: 1.4rem;
  width: 100%;
}
.info .emptyList li {
  padding: 10px 25px;
}
.newLabel {
  display: inline-block;
  font-family: "Roboto Condensed";
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0;
  background-color: #f7af0e;
  border-radius: 7px;
  margin: 0 0 0 0.3em;
  padding: 0.2em 0.5em;
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {
  .infoField > section:not(:last-child),
  .infoField > section.calendar {
    margin-right: 20px;
  }
  /* calendar */
  .calendar {
    width: 28%;
  }
    /* congestion */
  .congestion {
    width: 29%;
  }
  .congestion.secDetail h2 > small {
    font-size: 1.0rem;
    margin-left: 6px;
  }
  /* info */
  .info {
    width: calc(43% - 40px);
  }
  .info li a {
    padding: 10px 32px 10px 12px;
  }
  .info li a::after {
    right: 15px;
  }
  .info li .date {
    margin-right: 8px;
  }
}

/* Hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) .congestionList li:hover::before {
    left: -16px;
  }
  body:not(.tab_view) .congestionList li a:hover {
    opacity: 1;
  }
  /* 混雑中 */
  body:not(.tab_view) .congestionList li.full a:hover {
    border: 2px solid #e85c5c;
  }
  /* やや混雑 */
  body:not(.tab_view) .congestionList li.somewhat a:hover {
    border: 2px solid #fdc23e;
  }
  /* 混雑なし */
  body:not(.tab_view) .congestionList li.vacant a:hover {
    border: 2px solid #45cde6;
  }
  /* 閉館中 */
  body:not(.tab_view) .congestionList li.closed a:hover {
    border: 2px solid #b5b5b5;
  }
  /* 準備中 */
  body:not(.tab_view) .congestionList li.preparation a:hover {
    border: 2px solid #efefef;
  }
  /* イベント中 */
  body:not(.tab_view) .congestionList li.event a:hover {
    border: 2px solid #6dc471;
  }
}


@media only screen and (max-width: 768px) {
  .infoField {
    display: block;
    padding: 15px 0 0;
    background-color: #f8f8f8;
  }
  .infoField > section {
    margin-right: 0;
  }
  .infoField > section:not(:last-child) {
    margin-bottom: 20px;
  }
  /* calendar */
  .calendar {
    width: 100%;
  }
  .calendar .googleCalendar {
    margin: 0 15px;
  }
  .calendar .loader img {
    width: auto;
    height: 100%;
  }
  /* congestion */
  .congestion {
    width: 100%;
  }
  .congestionList {
    margin: 0 15px;
  }
  .congestionList li a.display_pc {
    display: none;
  }
  .congestionList li a.display_sp {
    display: flex;
  }
  .congestionInPre {
    margin-top: 0;
  }
  /* info */
  .info {
    width: 100%;
    background-color: #fff;
    padding-top: 20px;
  }
  .info .btn {
    width: calc(100% - 30px);
    margin: 0 15px 20px;
    position: relative;
    top: 0;
    left: auto;
    padding: 12px 25px;
  }
  /*.info list */
  .info ul {
    margin: 0 0 20px;
    border: 2px solid #f3f2f4;
    border-width: 2px 0;
  }
  .info li a {
    padding: 10px 25px 10px 15px;
  }
  .info li a::after {
    right: 12px;
  }
  .info li .date {
    width: 80px;
    font-size: 1.4rem;
  }
}

/* ------------------------------------
  common parts
------------------------------------ */
.secDetail h2 {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", YuGothic, "游ゴシック",sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 3px 0 3px 19px;
  margin-bottom: 20px;
  border-left: 3px solid #533076;
}
.secDetail h2.en {
  font-family: "Roboto Condensed";
  font-size: 2.0rem;
  padding: 0 0 0 19px;
  word-break: break-all;
}
.secDetail h2 > small {
  font-size: 1.3rem;
  letter-spacing: 0;
  margin-left: 12px;
}
.secDetail .titleWrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}
.secDetail .titleWrap h2 {
  padding-right: 15px;
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .secDetail h2 {
    margin-right: 15px;
    margin-bottom: 8px;
  }
  .secDetail .titleWrap {
    padding-right: 15px;
    margin-bottom: 8px;
  }
}

/* ------------------------------------
  bannerField
------------------------------------ */
#bannerField {
  opacity: 0;
  width: calc(100% + 32px);
  height: 100%;
  position: relative;
  margin-top: 68px;
  transform: translateX(-16px);
  /*transform: translateY(-50%) translateY(16px);*/
}
#bannerField::before {
  content: "";
  display: block;
  width: 100%;
  /*height: calc(100% - 16px);*/
  height: calc(50% + 72px);
  background-color: #f3f2f4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(50%);
}
#bannerField .slider {
  width: calc(100% - 140px);
  max-width: 1400px;
  min-width: 1400px;
  margin: 0 auto;
  position: static;
}
#bannerField .slick-slide {
  margin: 0 12px;
  position: relative;
}
#bannerField .slick-slide::before {
  content: "";
  width: calc(100% - 16px);
  height: calc(100% - 17px);
  background-color: #f3f2f4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
#bannerField .slick-slide figure {
  padding: 8px;
}
#bannerField .slick-slide img {
  width: 100%;
  box-shadow: 0 0 8px rgba(0, 51, 83, 0.08);
}
#bannerField .slick-prev,
#bannerField .slick-next {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease-out;
}
#bannerField .slick-prev {
  background-color: #533076;
  left: 0;
  z-index: 2;
}
#bannerField .slick-next {
  background-color: #533076;
  right: 0;
}
#bannerField .slick-prev:before,
#bannerField .slick-next:before {
  content: "\e900";
  font-family: 'komazawaLib';
  font-size: 1.0rem;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#bannerField .slick-prev:before {
  display: block;
  transform: translate(-50%, -50%) scale(-1, 1);
}

@media only screen and (min-width: 769px) and (max-width: 1550px) {
  #bannerField .slider {
    min-width: auto;
  }
}

/* Hover */
@media only screen and (min-width: 769px) {
  body:not(.tab_view) #bannerField .slick-slide a:hover {
    opacity: 0.5;
  }
  body:not(.tab_view) #bannerField .slick-prev:hover,
  body:not(.tab_view) #bannerField .slick-next:hover {
    opacity: 0.6;
  }
}

@media only screen and (max-width: 768px) {
  #bannerField {
    width: 100%;
    margin-top: 32px;
    transform: translateX(0);
  }
  #bannerField::before {
    height: calc(50% + 38px);
  }
  #bannerField .slider {
    width: calc(100% - 100px);
    min-width: auto;
    margin: 0 auto;
  }
  #bannerField .slick-list {
    overflow-y: visible;
    overflow-x: visible;
  }
  #bannerField .slick-slide {
    margin: 0 20px;
  }
  #bannerField .slick-slide:not(.slick-active) img {
    opacity: 0.65;
  }
  #bannerField .slick-prev,
  #bannerField .slick-next {
    width: 40px;
    height: 40px;
  }
}

/* ------------------------------------
  snsList
------------------------------------ */
.snsList {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: absolute;
  top: 192px;
  right: calc((100% - 1400px) / 2);
}
.snsList > li:not(:last-child) {
  margin-right: 23px;
}
.snsList a {
  display: block;
}
.snsList img {
  vertical-align: middle;
}

@media only screen and (min-width: 769px) and (max-width: 1432px) {
  .snsList {
    right: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .snsList {
    width: 100%;
    top: auto;
    right: auto;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    z-index: 1;
  }
}

footer {
  margin-top: 72px;
}

@media only screen and (max-width: 768px) {
  footer {
    padding: 130px 6% 45px;
    margin-top: 38px;
  }
}