@charset "UTF-8";

/* 共通 */
.library_pageHead {
  border-bottom: 1px solid hsla(352, 62%, 52%, 1);
}

.library_pageHead_top {
  background: hsla(352, 62%, 52%, 1);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 920px) {
  .library_pageHead_top {
    padding: 22px clamp(40px, 7.5vw, 120px);
  }
}

.library_pageHead_bottom {
  padding: 7px 20px;
}

@media (min-width: 920px) {
  .library_pageHead_bottom {
    padding: 7px clamp(40px, 7.5vw, 120px);
  }
}

.library_pageHead_top_title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(24px, 2.25vw, 36px);
  line-height: 1;
  letter-spacing: 0.05em;
}

.library_pageTitle {
  color: hsla(352, 62%, 52%, 1);
  font-weight: 700;
  font-size: clamp(20px, 1.5625vw, 25px);
  line-height: 2;
  letter-spacing: 0.05em;
}

@media (min-width: 920px) {
  .library_pageTitle {
    font-size: clamp(20px, 1.5625vw, 25px);
  }
}

.library_subpage_link_list {
  display: none;
}

@media (min-width: 1024px) {
  .library_subpage_link_list {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}

.library_subpage_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: opacity .3 ease-out;
}

.library_subpage_link:hover {
  opacity: 0.6;
}

.library_subpage_link_text {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: justify;

}

.library_subpage_link_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.library_pageBody {
  padding-top: 60px;
}

@media (min-width: 920px) {
  .library_pageBody {
    padding-top: 70px;
  }
}

.sectionTitle-ja.dark_red,
.sectionTitle-en.dark_red {
  color: hsla(352, 62%, 52%, 1);
}

.sectionChild_title.dark_red::before {
  background-image: linear-gradient(to bottom, hsla(352, 62%, 52%, 1) 0%, hsla(352, 62%, 52%, 1) 34%, hsla(352, 100%, 83%, 1) 35%, hsla(352, 100%, 83%, 1) 100%);
}

/* 図書館 */


.library_container_base {
  padding: 0 20px;
}

@media (min-width: 920px) {
  .library_container_base {
    padding: 0 40px;
  }
}

/* 検索機能 */
.opac_search_container {
  width: 100%;
  max-width: 50rem;
  /* 約800px */
  margin: 0 auto;
}

/* タブ部分 */
.opac_tab {
  display: inline-block;
  padding: 0.75rem 2rem;
  color: hsla(352, 62%, 52%, 1);
  font-weight: 700;
  font-style: Bold;
  font-size: 21px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

}

/* 検索ボックスの中身 */
.opac_content {
  background: #fff;
  padding: 30px 40px;
}

.opac_form_inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 「すべて」の枠部分 */
.opac_select_wrapper {
  position: relative;
  width: fit-content;
}

.opac_select {
  appearance: none;
  background: #fff;
  border: 1px solid hsla(120, 1%, 75%, 1);
  padding: 7px 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;

  cursor: pointer;
}

/* セレクトボックスの矢印アイコン（簡易版） */
.opac_select_wrapper::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}

/* キーワード入力部分 */
.opac_input_wrapper {
  display: flex;
  align-items: center;
}

.opac_input {
  flex: 1;
  background: #fff;
  border: 1px solid hsla(120, 1%, 75%, 1);
  color: hsla(120, 1%, 75%, 1);
  padding: 17px 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  vertical-align: middle;

}

.opac_input:focus {
  outline: none;
}

.opac_button {
  transition: opacity 0.3s;
}

.opac_button:hover {
  opacity: 0.8;
}

/* 検索機能 */
.library_map {
  padding: 80px 0;
}

@media (min-width: 920px) {
  .library_map {
    padding: 100px 0;
  }
}

.library_calender iframe {
  height: 100%;
  min-height: 393px;
}

.library_map_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1100px) {
  .library_map_main {
    max-width: 1236px;
    margin: 0 auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.library_map_link_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .library_map_link_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 1100px) {
  .library_map_link_list {
    max-width: 803px;
    width: 100%;
  }
}

.library_map_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: hsla(352, 94%, 68%, 1);
  border-radius: 10px;
  padding: 25px 20px;
  transition: filter .3s ease-out;
}

.library_map_link:hover {
  filter: brightness(0.8);
}

.library_map_link_main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 322px;
  margin: 0 auto;
}

.library_map_link_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.library_map_link_head_left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.library_map_link_head_text {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;

}

@media (min-width: 768px) {
  .library_map_link_head_text {
    font-size: 21px;

  }
}

.library_map_link_text {
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: justify;

}

.library_news {
  padding: 60px 0;
  background: hsla(352, 62%, 52%, 0.1);

}

@media (min-width: 920px) {
  .library_news {
    padding: 80px 0;
  }
}

.library_section_title {
  color: hsla(352, 62%, 52%, 1);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;

}

@media (min-width: 920px) {
  .library_section_title {
    font-size: 32px;
  }

}

.library_news_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 20px auto 0;
  flex: 1;
}

@media (min-width: 768px) {
  .library_news_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 13px;
    max-width: 700px;
    margin: 30px auto 0;
  }
}

@media (min-width: 1024px) {
  .library_news_list {
    display: flex;
    flex-direction: row;
    max-width: 1240px;
  }
}

.library_news_list_item {
  flex: 1;
}

.library_news_link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 19px;
}

.library_news_link_img {
  aspect-ratio: 262 / 263;
  border-radius: 8px;
  overflow: hidden;
}

.library_news_link_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;

}

.library_news_link_img:hover img {
  /* 1.1倍に拡大 */
  transform: scale(1.05);
}

.library_news_link_text_wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.library_news_link_date {
  font-family: Helvetica;
  font-weight: 400;
  font-size: 15px;
  line-height: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: hsla(332, 100%, 92%, 1);
  width: fit-content;
}

.library_news_link_title {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.library_pick_up {
  background-color: hsla(352, 94%, 68%, 1);
  padding: 40px 0 60px;
}

@media (min-width: 920px) {
  .library_pick_up {
    padding: 50px 0 70px;
  }
}

.library_section_title_en {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;

}

@media (min-width: 920px) {
  .library_section_title_en {
    font-size: 32px;


  }
}

.library_pick_up_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 920px) {
  .library_pick_up_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 920px;
    margin: 40px auto 0;
  }
}

.library_pick_up_link {
  display: block;
  transition: opacity .3s ease-out;
}

.library_pick_up_link:hover {
  opacity: 0.6;
}

.library_pick_up_link img {
  width: 100%;
}

/* 利用案内 */
.floor_guide_img img {
  width: 100%;
}

.library_text_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.library_text_wrapper p {
  margin: 0 !important;
}

.opac_img {
  margin-top: 1.25rem;
  max-width: 486px;
}

.library_text_bold {
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 2.1875rem;
  letter-spacing: 0.05em;
  vertical-align: middle;

}

.donation_text_wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

}

@media (min-width: 920px) {
  .donation_text_wrap {
    gap: 5rem;
  }
}

.library_pageBottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 35px 20px;
  gap: 20px;
}

@media (min-width: 920px) {

  .library_pageBottom {
    flex-direction: row;
    align-items: stretch;
    padding: 35px clamp(40px, 8.125vw, 130px);
    gap: 70px;
  }
}

.library_pageBottom.subPage {
  background: hsla(352, 60%, 95%, 1);

}

.library_pageBottom_content {
  padding-left: 22px;
  position: relative;

}

.library_pageBottom_content::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  border-radius: 999px;
  background-color: hsla(352, 62%, 52%, 1);
  width: 1.5px;
  height: 100%;
}

/* コレクション */
.library_img {
  margin-top: 20px;
}

@media (min-width: 920px) {
  .library_img {
    margin-top: 30px;
    max-width: 490px;
  }
}


.library_link_wrap h4 {
  margin-top: 30px;
  margin-bottom: 10px;
}

@media (min-width: 920px) {
  .library_link_wrap h4 {
    margin-top: 20px;
  }
}

.notFlex_h4 {
  display: block !important;
}

.arrowLink .link_arrow_img {
  content: "";
  display: block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  background: url(../img/library/link_arrow_img.svg);
  background-size: contain;
}


.library_info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.library_close {
  background: #FAEBED;
  color: #D0394D;
  display: flex;
  display: none;
}

.opac_tab {
  background: #fff;
}

@media (max-width: 920px) {
  .library_info {
    position: static;
    transform: translateY(0);
    margin: 10px 20px;
  }

  .library_close {
    display: none;
  }
}

.opac_select {
  appearance: none;
  background: #fff;
  border: 1px solid hsla(120, 1%, 75%, 1);
  padding: 7px 20px 7px 5px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.opac_select_wrapper::after {
  content: "▼";
  right: 5px;
}
