/* CSS Document */

/* =============================================

library

=============================================*/

.library + .footer {
  margin-top: 0;
}

.library {
  position: relative;
  z-index: 0;
}

.library:before {
  content: "";
  display: block;
  position: absolute;
  border-top: 1px solid #ff005d;
  width: 340px;
  transform: rotate(-45deg);
  left: -70px;
  top: 820px;
  z-index: -1;
}

.library .pagettl {
  background-image: url("../images/library/index/bg-pagettl_pc.png");
}

.library .category-index .category-index--inner .title .en {
  max-width: 340px;
}

.index-section .headline:after {
  background: #ff80ae;
}

.index-section .indexlist li a {
  border: 1px solid #ff80ae;
}

.index-section .indexlist li .txt {
  background: #ff80ae;
}

.index-section .indexlist li .txt.thin {
  letter-spacing: -1px;
  padding: 0 20px 0 5px;
}

/* 追加 */

@media screen and (max-width: 1024px) {
  .pagettl .title {
    right: 3%;
  }
  .pagettl .title span.en {
    font-size: 3.5em;
  }
}

@media screen and (max-width: 767px) {
  .library .pagettl {
    background-image: url(../images/library/index/bg-pagettl_sp.png);
  }
  .library:before {
    top: 580px;
    width: 160px;
  }
  .index-anchor li:last-child {
    width: 62%;
  }
  .category-index:after {
    display: none;
  }
  .index-section .indexlist li .txt.thin {
    padding: 0 12px 0 5px;
  }
}

.category-index:after {
  border-top: 1px solid #ff005d;
}

.library + .footer:before {
  border-top: 1px solid #ff005d;
}

/* 追加css */

.library-news {
  margin: 12px 45px 50px 45px;
  position: relative;
}

.library-news .news-list a {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #707070;
  align-items: center;
  text-decoration: none;
}

.library-news .news-list a:after {
  content: "";
  display: block;
  border-top: 1px solid #1a498b;
  border-right: 1px solid #1a498b;
  height: 8px;
  position: absolute;
  right: 10px;
  width: 8px;
  transform: rotate(45deg);
}

.library-news .news-list dt {
  font-size: 1.6em;
  line-height: 28px;
  min-width: 5.5em;
  color: #333333;
  font-weight: bold;
}

.library-news .news-list dd {
  font-size: 1.6em;
  line-height: 28px;
  color: #333333;
}

.library-news-box {
  position: relative;
  width: 500px;
  margin: 50px auto 130px auto;
  background-color: #ff80ae;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
}

.invalid {
  text-decoration: none;
  color: #fff;
  font-size: 1.6em;
}

a .library-news-box:after {
  content: "";
  display: block;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  height: 8px;
  position: absolute;
  right: 10px;
  width: 8px;
  transform: rotate(45deg);
  content: "";
  display: block;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  height: 8px;
  position: absolute;
  right: 10px;
  width: 8px;
  transform: rotate(45deg);
  top: 45%;
}
.calendar_text {
  font-size: 2em;
  line-height: 30px;
  color: #707070;
}

.calendar_box {
  text-align: center;
  margin: 30px 0 70px 0;
}

.index-section .indexlist {
  gap: 30px;
  margin: 0 75px 130px 0;
}

.index-section .indexlist li {
  margin: 0;
  width: calc(100% / 2 - 15px);
}

.library .news--inner--contents {
  max-width: 966px;
  margin: 40px auto 0 auto;
}

.library .box {
  border-bottom: 1px solid #c5c4c4;
}

.library .news--inner--contents .box:nth-of-type(n + 2) {
  margin-top: 12px;
}

.library .box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  padding-bottom: 12px;
}

.library .box a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.library .box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  padding-bottom: 12px;
}

.library .box .date {
  font-size: 1.4em;
  font-weight: 600;
  color: #ff80ae;
  width: 16%;
}

.library .box a .date {
  font-size: 1.4em;
  font-weight: 600;
  color: #ff80ae;
  width: 16%;
}

.library .box p {
  color: #000;
  width: 72%;
  font-size: 1.4em;
  font-weight: 600;
}

.library .box a p {
  color: #000;
  width: 72%;
  font-size: 1.4em;
  font-weight: 600;
}

.library .box .more {
  text-align: right;
  width: 12%;
  font-family: "Nunito", sans-serif;
  color: #000;
  font-weight: 600;
  font-size: 1.3em;
}

.library .box .more span {
  position: relative;
  display: inline-block;
  padding-right: 30px;
}

.library .box .more span:after {
  content: "";
  display: block;
  position: absolute;
  width: 24px;
  border-top: 1px solid #000;
  right: 0;
  top: 50%;
  transition: all 0.3s ease-out;
}

.library-pagenate {
  display: flex;
  justify-content: center;
}

.library-pagenate ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 25px 0;
}

.library-pagenate li {
  margin: 0 13px;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .library-news {
    margin: 0;
  }
  .library-news .news-list a {
    padding: 20px 20px 20px 0;
    flex-direction: column;
    align-items: baseline;
    gap: 10px;
  }
  .library-news-box {
    width: 100%;
    margin: 20px auto 50px auto;
  }
  .calendar_box {
    flex-direction: column;
    margin: 0 0 50px 0;
  }
  .index-section .indexlist {
    margin: 30px 0;
  }
  .index-section .indexlist li {
    width: 100%;
  }
  .library .box {
    display: block;
  }
  .library .box a {
    display: block;
  }
  .library .box .date {
    width: 100%;
  }
  .library .box a .date {
    width: 100%;
  }
  .library .box .more {
    width: 100%;
    text-align: right;
  }
  .library .box .more span {
    padding-right: 0;
  }
  .library .box .more span:after {
    display: none;
  }
  .calendar_text {
    font-size: 1.5em;
    margin: 20px 0;
  }
  .calendar_box iframe {
    width: 100%;
    height: 400px;
  }
  .library .box a p {
    width: 100%;
  }
  .library .box p {
    width: 100%;
  }
}

/* 20251117追加 */

.category-index .category-index--inner .explanation {
  margin-bottom: 40px !important;
}

.search-area {
  max-width: 800px;
  margin: 50px auto 130px auto;
}

.search-area h3 {
  text-align: center;
  font-size: 2.4em;
  font-family: Noto Serif JP;
  margin: 20px 0;
}

.search-area label {
  display: inline-block;
  max-width: 100%;
  min-height: 20px;
  padding-left: 10px;
  margin-bottom: 0;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.4em;
  line-height: 1.42857143;
  color: #333;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
}

.search-area #titleissn-search-typeselect {
  display: inline-block;
  width: auto;
  vertical-align: middle;
  height: 34px;
  padding: 6px 12px;
  font-size: 1.4em;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.search-area #titlesearch {
  height: 34px;
  padding: 6px 12px;
  font-size: 1.4em;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  display: inline-block;
  vertical-align: middle;
  width: 50%;
}

.search-area button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 1.4em;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  border: 1px solid rgb(204, 204, 204);
}

.search-area button:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.form-flex {
  display: flex;
  justify-content: space-between;
  max-width: 682px;
  align-items: baseline;
  margin-bottom: 15px;
}

.detail-link {
  position: relative;
  padding-right: 15px;
  border-bottom: 1px solid #333;
}

.detail-link a {
  text-decoration: none;
  font-size: 1.4em;
  line-height: 24px;
  font-weight: bold;
  color: #333;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
  display: inline-block;
}

.detail-link::after {
  content: "";
  display: block;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  height: 8px;
  position: absolute;
  width: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);

  top: 50%;
  right: 0%;
}

.foam-Annotation {
  font-size: 1.4em;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .form-flex {
    flex-direction: column;
    gap: 10px;
  }
  #searchcontrolarea label:first-of-type {
    padding-left: 0;
  }
}
